public class UUIDAddressFactory extends Object implements AddressFactory
| Constructor and Description |
|---|
UUIDAddressFactory(io.vlingo.xoom.common.identity.IdentityGeneratorType type) |
| Modifier and Type | Method and Description |
|---|---|
<T> Address |
findableBy(T id) |
Address |
from(long reservedId,
String name) |
Address |
from(String idString) |
Address |
from(String idString,
String name) |
Address |
none() |
long |
testNextIdValue() |
Address |
unique() |
protected UUID |
unique(String name) |
Address |
uniquePrefixedWith(String prefixedWith) |
Address |
uniqueWith(String name) |
protected UUID |
uuidFrom(long id) |
Address |
withHighId() |
Address |
withHighId(String name) |
public UUIDAddressFactory(io.vlingo.xoom.common.identity.IdentityGeneratorType type)
public <T> Address findableBy(T id)
findableBy in interface AddressFactorypublic Address from(long reservedId, String name)
from in interface AddressFactorypublic Address from(String idString)
from in interface AddressFactorypublic Address from(String idString, String name)
from in interface AddressFactorypublic Address none()
none in interface AddressFactorypublic Address unique()
unique in interface AddressFactorypublic Address uniquePrefixedWith(String prefixedWith)
uniquePrefixedWith in interface AddressFactorypublic Address uniqueWith(String name)
uniqueWith in interface AddressFactorypublic Address withHighId()
withHighId in interface AddressFactorypublic Address withHighId(String name)
withHighId in interface AddressFactorypublic long testNextIdValue()
testNextIdValue in interface AddressFactoryprotected UUID uuidFrom(long id)
Copyright © 2021. All rights reserved.