Package com.hazelcast.cp
Interface CPDataStructureManagementService
public interface CPDataStructureManagementService
Utility methods for managing data structures.
- Since:
- 5.7.0
-
Method Summary
Modifier and TypeMethodDescriptionpurgeCPMap(String mapName, Duration age) Purges entries from the given CPMap that are older than the specified duration.
-
Method Details
-
purgeCPMap
Purges entries from the given CPMap that are older than the specified duration.- Parameters:
mapName- name of the CPMapage- age threshold for entries to be purged- Returns:
- number of entries purged
- Throws:
IllegalArgumentException- if no CPGroup exists for the given mapNameUnsupportedOperationException- if purge is not enabled for the given mapName or if the cluster version is earlier than 5.7NullPointerException- if mapName or age isnull- See Also:
-