public class UUIDFetcher
extends java.lang.Object
implements java.util.concurrent.Callable<java.util.Map<java.lang.String,java.util.UUID>>
Constructor and Description |
---|
UUIDFetcher(java.util.List<java.lang.String> names)
|
UUIDFetcher(java.util.List<java.lang.String> names,
boolean rateLimiting) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.UUID>
|
call()
|
static java.util.UUID |
fromBytes(byte[] array)
|
static java.util.UUID |
getUUID(java.lang.String id)
|
static java.util.UUID |
getUUIDOf(java.lang.String name)
|
static byte[] |
toBytes(java.util.UUID uuid)
|
public UUIDFetcher(java.util.List<java.lang.String> names, boolean rateLimiting)
public UUIDFetcher(java.util.List<java.lang.String> names)
public java.util.Map<java.lang.String,java.util.UUID> call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.util.Map<java.lang.String,java.util.UUID>>
java.lang.Exception
public static java.util.UUID getUUID(java.lang.String id)
public static byte[] toBytes(java.util.UUID uuid)
public static java.util.UUID fromBytes(byte[] array)
public static java.util.UUID getUUIDOf(java.lang.String name) throws java.lang.Exception
java.lang.Exception