public interface PersistentUUIDManager
PersistentUUID
s present in the clusterModifier and Type | Method and Description |
---|---|
void |
addPersistentAddressMapping(Address address,
PersistentUUID persistentUUID)
Adds a mapping between an
Address and a PersistentUUID |
UnaryOperator<Address> |
addressToPersistentUUID()
Provides a remapping operator which translates addresses to persistentuuids
|
Address |
getAddress(PersistentUUID persistentUUID)
Retrieves the
Address of a node given its PersistentUUID |
PersistentUUID |
getPersistentUuid(Address address)
Retrieves the
PersistentUUID of a node given its Address |
List<PersistentUUID> |
mapAddresses(List<Address> addresses)
Returns a list of
PersistentUUID s for the supplied Address es |
UnaryOperator<Address> |
persistentUUIDToAddress()
Provides a remapping operator which translates persistentuuids to addresses
|
void |
removePersistentAddressMapping(Address address)
Removes any address mapping for the specified
Address |
void |
removePersistentAddressMapping(PersistentUUID persistentUUID)
Removes any address mapping for the specified
PersistentUUID |
void addPersistentAddressMapping(Address address, PersistentUUID persistentUUID)
Address
and a PersistentUUID
address
- persistentUUID
- PersistentUUID getPersistentUuid(Address address)
PersistentUUID
of a node given its Address
address
- the address to lookupAddress getAddress(PersistentUUID persistentUUID)
Address
of a node given its PersistentUUID
persistentUUID
- the persistent uuid to lookupvoid removePersistentAddressMapping(PersistentUUID persistentUUID)
PersistentUUID
persistentUUID
- the PersistentUUID
for which to remove mappingsvoid removePersistentAddressMapping(Address address)
Address
address
- the Address
for which to remove mappingsList<PersistentUUID> mapAddresses(List<Address> addresses)
PersistentUUID
s for the supplied Address
esaddresses
- UnaryOperator<Address> addressToPersistentUUID()
UnaryOperator<Address> persistentUUIDToAddress()
Copyright © 2021 JBoss by Red Hat. All rights reserved.