public class PlacementGroupId extends BaseId implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH |
static PlacementGroupId |
NIL |
| Modifier and Type | Method and Description |
|---|---|
static PlacementGroupId |
fromByteBuffer(ByteBuffer bb)
Creates a PlacementGroupId from the given ByteBuffer.
|
static PlacementGroupId |
fromBytes(byte[] bytes)
Create a PlacementGroupId instance according to the given bytes.
|
static PlacementGroupId |
fromRandom()
Generate an PlacementGroupId with random value.
|
int |
size()
Derived class should implement this function.
|
byteBuffer2Bytes, equals, getBytes, hashCode, hexString2Bytes, isNil, toByteBuffer, toStringpublic static final int LENGTH
public static final PlacementGroupId NIL
public static PlacementGroupId fromByteBuffer(ByteBuffer bb)
public static PlacementGroupId fromBytes(byte[] bytes)
public static PlacementGroupId fromRandom()
Copyright © 2024. All rights reserved.