com.googlecode.icegem.utils
Class RegionSizeResultCollector
java.lang.Object
com.googlecode.icegem.utils.RegionSizeResultCollector
- All Implemented Interfaces:
- com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
public class RegionSizeResultCollector
- extends Object
- implements com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
- Author:
- Renat Akhmerov.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionSizeResultCollector
public RegionSizeResultCollector()
addResult
public void addResult(com.gemstone.gemfire.distributed.DistributedMember memberID,
Integer singleRes)
- Specified by:
addResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
clearResults
public void clearResults()
- Specified by:
clearResults in interface com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
endResults
public void endResults()
- Specified by:
endResults in interface com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
getResult
public Integer getResult()
throws com.gemstone.gemfire.cache.execute.FunctionException
- Specified by:
getResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
- Throws:
com.gemstone.gemfire.cache.execute.FunctionException
getResult
public Integer getResult(long timeout,
TimeUnit unit)
throws com.gemstone.gemfire.cache.execute.FunctionException,
InterruptedException
- Specified by:
getResult in interface com.gemstone.gemfire.cache.execute.ResultCollector<Integer,Integer>
- Throws:
com.gemstone.gemfire.cache.execute.FunctionException
InterruptedException
Copyright © 2011. All Rights Reserved.