Package io.ray.api.id

Class JobId

All Implemented Interfaces:
Serializable

public class JobId extends BaseId implements Serializable
Represents the id of a Ray job.
See Also:
Serialized Form
  • Field Details

  • Method Details

    • fromBytes

      public static JobId fromBytes(byte[] bytes)
      Create a JobId from byte array.
    • fromHexString

      public static JobId fromHexString(String hex)
      Create a JobId from a given hex string.
    • fromByteBuffer

      public static JobId fromByteBuffer(ByteBuffer bb)
      Creates a JobId from the given ByteBuffer.
    • fromInt

      public static JobId fromInt(int value)
    • 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.