public interface PersistentUUIDManager
PersistentUUIDs present in the cluster| Modifier 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
PersistentUUIDs for the supplied Addresses |
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 PersistentUUIDaddress - persistentUUID - PersistentUUID getPersistentUuid(Address address)
PersistentUUID of a node given its Addressaddress - the address to lookupAddress getAddress(PersistentUUID persistentUUID)
Address of a node given its PersistentUUIDpersistentUUID - the persistent uuid to lookupvoid removePersistentAddressMapping(PersistentUUID persistentUUID)
PersistentUUIDpersistentUUID - the PersistentUUID for which to remove mappingsvoid removePersistentAddressMapping(Address address)
Addressaddress - the Address for which to remove mappingsList<PersistentUUID> mapAddresses(List<Address> addresses)
PersistentUUIDs for the supplied Addressesaddresses - UnaryOperator<Address> addressToPersistentUUID()
UnaryOperator<Address> persistentUUIDToAddress()
Copyright © 2022 JBoss by Red Hat. All rights reserved.