|
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 |
java.lang.Object
com.tangosol.net.partition.PartitionSplittingBackingMap.MapArray
public static class PartitionSplittingBackingMap.MapArray
The MapArray is a data structure that provides a mapping between partition IDs and backing maps. It is immutable.
Constructor Summary | |
---|---|
PartitionSplittingBackingMap.MapArray(int cPartitions) Construct an empty MapArray for a given partition count. |
Method Summary | |
---|---|
PartitionSplittingBackingMap.MapArray |
addMap(int nPid, java.util.Map mapBacking) Add a new mapping between a partition ID and its backing map. |
java.util.Map |
getBackingMap(int nPid) Obtain the backing map that corresponds to a specified partition. |
java.util.Map[] |
getBackingMaps() Obtain an array of all of the current backing maps, one for each partition. |
java.util.Map[] |
getBackingMaps(PartitionSet partitions) Obtain an array of the current backing maps for the partitions specified in the passed PartitionSet. |
CacheStatistics[] |
getCacheStatistics() Obtain an array of all of the CacheStatistics objects for the current backing maps, one for each partition. |
int[] |
getPartitions() Obtain an array of all of the current partition IDs for which there are backing maps. |
PartitionSet |
getPartitionSet() Obtain a PartitionSet containing partition IDs for which there are backing maps. |
PartitionSplittingBackingMap.MapArray |
removeMap(int nPid) Remove the mapping for the specified partition ID and its corresponding backing map. |
Constructor Detail |
---|
public PartitionSplittingBackingMap.MapArray(int cPartitions)
cPartitions
- the maximum number of partitionsMethod Detail |
---|
public int[] getPartitions()
public PartitionSet getPartitionSet()
public java.util.Map getBackingMap(int nPid)
nPid
- the partition id to obtain the backing map forpublic java.util.Map[] getBackingMaps()
public java.util.Map[] getBackingMaps(PartitionSet partitions)
partitions
- a PartitionSet to mask the backing maps bypublic CacheStatistics[] getCacheStatistics()
public PartitionSplittingBackingMap.MapArray addMap(int nPid, java.util.Map mapBacking)
nPid
- the partition ID to addmapBacking
- the backing map for the partition to addpublic PartitionSplittingBackingMap.MapArray removeMap(int nPid)
nPid
- the partition ID to remove
|
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 |