public final class Helper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
format(int value) |
static String |
format(short value) |
static byte[] |
getAddressBytes() |
static String |
getAddressHexString() |
static int |
getAddressInt() |
static byte[] |
getCountBytes() |
static short |
getCountShort()
Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a
millisecond)
|
static byte[] |
getJvmIdentifierBytes() |
static String |
getJvmIdentifierHexString() |
static int |
getJvmIdentifierInt() |
static void |
main(String[] args) |
public static byte[] getAddressBytes()
public static int getAddressInt()
public static String getAddressHexString()
public static byte[] getJvmIdentifierBytes()
public static int getJvmIdentifierInt()
public static String getJvmIdentifierHexString()
public static short getCountShort()
public static byte[] getCountBytes()
public static String format(int value)
public static String format(short value)
public static void main(String[] args) throws UnknownHostException
UnknownHostException
Copyright © 2016 JBoss by Red Hat. All rights reserved.