|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionAwareBackingMap
In a partitioned configuration, backing maps that implement the PartitionAwareBackingMap interface are able to react to the partition life-cycle (a partition showing up on a node, or moving away from a node) and manage data more efficiently as a result.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry |
Method Summary | |
---|---|
void |
createPartition(int nPid) Add a partition to the PartitionAwareBackingMap. |
void |
destroyPartition(int nPid) Remove a partition from the PartitionAwareBackingMap. |
BackingMapManager |
getBackingMapManager() Obtain the BackingMapManager that this PartitionAwareBackingMap uses to instantiate and release backing maps. |
java.lang.String |
getName() Determine the name of the cache for which this PartitionAwareBackingMap exists. |
java.util.Map |
getPartitionMap(int nPid) Obtain a Map view for the data in a specific partition. |
java.util.Map |
getPartitionMap(PartitionSet partitions) Obtain a Map view for the data in a specific set of partitions. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
BackingMapManager getBackingMapManager()
java.lang.String getName()
void createPartition(int nPid)
nPid
- the partition id that the PartitionAwareBackingMap will be responsible for, starting at this instantvoid destroyPartition(int nPid)
nPid
- the partition id that the PartitionAwareBackingMap will no longer be responsible for, starting at this instantjava.util.Map getPartitionMap(int nPid)
nPid
- the partition IDjava.util.Map getPartitionMap(PartitionSet partitions)
partitions
- the masking PartitionSet
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |