public interface CachingHandler
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this CachingHandler object.
|
int[] |
getPartitionsToFlushOut(java.util.Collection<java.lang.Integer> residentPartitions, int minNumNodesToFlushOut)
Returns the IDs of the partitions to be flushed out.
|
void |
updateRank(LogicalPartition partition)
Updates the rank of the partition in the cache.
|
int[] getPartitionsToFlushOut(java.util.Collection<java.lang.Integer> residentPartitions, int minNumNodesToFlushOut) throws LODNetworkException
residentPartitions
- resident partitions, which are the partitions to be excluded from the returned list.LODNetworkException
void updateRank(LogicalPartition partition)
partition
- the partition object whose rank is to be updatedjava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException