Class PersistentUUIDManagerImpl
java.lang.Object
org.infinispan.topology.PersistentUUIDManagerImpl
- All Implemented Interfaces:
PersistentUUIDManager
Implementation of the
PersistentUUIDManager interface- Since:
- 9.0
- Author:
- Tristan Tarrant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPersistentAddressMapping(Address address, UUID persistentUUID) Provides a remapping operator which translates addresses to persistentuuidsgetAddress(UUID persistentUUID) getPersistentUuid(Address address) mapAddresses(List<Address> addresses) Provides a remapping operator which translates persistentuuids to addressesvoidremovePersistentAddressMapping(UUID persistentUUID) Removes any address mapping for the specifiedUUIDvoidremovePersistentAddressMapping(Address address) Removes any address mapping for the specifiedAddress
-
Constructor Details
-
PersistentUUIDManagerImpl
public PersistentUUIDManagerImpl()
-
-
Method Details
-
addPersistentAddressMapping
Description copied from interface:PersistentUUIDManager- Specified by:
addPersistentAddressMappingin interfacePersistentUUIDManager- Parameters:
address-persistentUUID-
-
getPersistentUuid
Description copied from interface:PersistentUUIDManager- Specified by:
getPersistentUuidin interfacePersistentUUIDManager- Parameters:
address- the address to lookup- Returns:
- the persistentuuid of the node, null if no mapping is present
-
getAddress
Description copied from interface:PersistentUUIDManager- Specified by:
getAddressin interfacePersistentUUIDManager- Parameters:
persistentUUID- the persistent uuid to lookup- Returns:
- the address of the node, null if no mapping is present
-
removePersistentAddressMapping
Description copied from interface:PersistentUUIDManagerRemoves any address mapping for the specifiedUUID- Specified by:
removePersistentAddressMappingin interfacePersistentUUIDManager- Parameters:
persistentUUID- theUUIDfor which to remove mappings
-
removePersistentAddressMapping
Description copied from interface:PersistentUUIDManagerRemoves any address mapping for the specifiedAddress- Specified by:
removePersistentAddressMappingin interfacePersistentUUIDManager- Parameters:
address- theAddressfor which to remove mappings
-
mapAddresses
Description copied from interface:PersistentUUIDManager- Specified by:
mapAddressesin interfacePersistentUUIDManager- Parameters:
addresses-- Returns:
-
addressToPersistentUUID
Description copied from interface:PersistentUUIDManagerProvides a remapping operator which translates addresses to persistentuuids- Specified by:
addressToPersistentUUIDin interfacePersistentUUIDManager
-
persistentUUIDToAddress
Description copied from interface:PersistentUUIDManagerProvides a remapping operator which translates persistentuuids to addresses- Specified by:
persistentUUIDToAddressin interfacePersistentUUIDManager
-