com.googlecode.icegem.expiration
Class DestroyedEntriesCountCollector
java.lang.Object
com.googlecode.icegem.expiration.DestroyedEntriesCountCollector
- All Implemented Interfaces:
- com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
public class DestroyedEntriesCountCollector
- extends java.lang.Object
- implements com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
Collects the partial destroyedEntriesCount values and sums them
|
Method Summary |
void |
addResult(com.gemstone.gemfire.distributed.DistributedMember member,
java.io.Serializable value)
|
void |
clearResults()
|
void |
endResults()
|
java.io.Serializable |
getResult()
|
java.io.Serializable |
getResult(long timeout,
java.util.concurrent.TimeUnit timeUnit)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestroyedEntriesCountCollector
public DestroyedEntriesCountCollector()
addResult
public void addResult(com.gemstone.gemfire.distributed.DistributedMember member,
java.io.Serializable value)
- Specified by:
addResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
clearResults
public void clearResults()
- Specified by:
clearResults in interface com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
endResults
public void endResults()
- Specified by:
endResults in interface com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
getResult
public java.io.Serializable getResult()
throws com.gemstone.gemfire.cache.execute.FunctionException
- Specified by:
getResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
- Throws:
com.gemstone.gemfire.cache.execute.FunctionException
getResult
public java.io.Serializable getResult(long timeout,
java.util.concurrent.TimeUnit timeUnit)
throws com.gemstone.gemfire.cache.execute.FunctionException,
java.lang.InterruptedException
- Specified by:
getResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<java.io.Serializable,java.io.Serializable>
- Throws:
com.gemstone.gemfire.cache.execute.FunctionException
java.lang.InterruptedException
Copyright © 2011. All Rights Reserved.