public class TaskId extends BaseId implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
LENGTH |
static TaskId |
NIL |
static int |
UNIQUE_BYTES_LENGTH |
| 限定符和类型 | 方法和说明 |
|---|---|
static TaskId |
fromByteBuffer(ByteBuffer bb)
Creates a TaskId from a ByteBuffer.
|
static TaskId |
fromBytes(byte[] bytes)
Creates a TaskId from given bytes.
|
static TaskId |
fromHexString(String hex)
Create a TaskId from a hex string.
|
int |
size()
Derived class should implement this function.
|
byteBuffer2Bytes, equals, getBytes, hashCode, hexString2Bytes, isNil, toByteBuffer, toStringpublic static final int UNIQUE_BYTES_LENGTH
public static final int LENGTH
public static final TaskId NIL
public static TaskId fromByteBuffer(ByteBuffer bb)
public static TaskId fromBytes(byte[] bytes)
Copyright © 2021. All rights reserved.