Package io.ray.api.id
Class ActorId
java.lang.Object
io.ray.api.id.BaseId
io.ray.api.id.ActorId
- All Implemented Interfaces:
Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ActorIdfromByteBuffer(ByteBuffer bb)static ActorIdfromBytes(byte[] bytes)static ActorIdGenerate an ActorId with random value.getJobId()intsize()Derived class should implement this function.Methods inherited from class io.ray.api.id.BaseId
byteBuffer2Bytes, equals, getBytes, hashCode, hexString2Bytes, isNil, toByteBuffer, toString
-
Field Details
-
LENGTH
public static final int LENGTH- See Also:
- Constant Field Values
-
NIL
-
-
Method Details
-
fromByteBuffer
-
fromBytes
-
fromRandom
Generate an ActorId with random value. Used for local mode and test only. -
size
public int size()Description copied from class:BaseIdDerived class should implement this function. -
getJobId
-