Package io.ray.api.id

Class ActorId

java.lang.Object
io.ray.api.id.BaseId
io.ray.api.id.ActorId
All Implemented Interfaces:
Serializable

public class ActorId extends BaseId implements Serializable
See Also:
Serialized Form
  • Field Details

  • Method Details

    • fromByteBuffer

      public static ActorId fromByteBuffer(ByteBuffer bb)
    • fromBytes

      public static ActorId fromBytes(byte[] bytes)
    • fromRandom

      public static ActorId fromRandom()
      Generate an ActorId with random value. Used for local mode and test only.
    • size

      public int size()
      Description copied from class: BaseId
      Derived class should implement this function.
      Specified by:
      size in class BaseId
      Returns:
      The length of this id in bytes.
    • getJobId

      public JobId getJobId()