@InterfaceAudience.Private public class ClientId extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_LENGTH
The byte array of a UUID should be 16
|
| Constructor and Description |
|---|
ClientId() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getClientId()
Return clientId as byte[]
|
static long |
getLsb(byte[] clientId) |
static long |
getMsb(byte[] clientId) |
static byte[] |
toBytes(String id)
Convert from clientId string byte[] representation of clientId
|
static String |
toString(byte[] clientId)
Convert a clientId byte[] to string
|
public static final int BYTE_LENGTH
public static byte[] getClientId()
public static String toString(byte[] clientId)
public static long getMsb(byte[] clientId)
public static long getLsb(byte[] clientId)
public static byte[] toBytes(String id)
Copyright © 2013 Apache Software Foundation. All rights reserved.