Spring Boot for VMware GemFire
Class AbstractResultCollector<T,S>
java.lang.Object
org.springframework.geode.function.support.AbstractResultCollector<T,S>
- All Implemented Interfaces:
org.apache.geode.cache.execute.ResultCollector<T,S>
- Direct Known Subclasses:
SingleResultReturningCollector
public abstract class AbstractResultCollector<T,S>
extends Object
implements org.apache.geode.cache.execute.ResultCollector<T,S>
The
AbstractResultCollector class is an abstract base implementation of the ResultCollector interface
encapsulating common functionality for collecting results from a Function execution.- Since:
- 1.0.0
- See Also:
-
ResultCollector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected booleanprotected booleanprotected TimeUnitresolveTimeUnit(TimeUnit unit) protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.cache.execute.ResultCollector
addResult
-
Field Details
-
NOT_IMPLEMENTED
- See Also:
-
DEFAULT_TIME_UNIT
-
-
Constructor Details
-
AbstractResultCollector
public AbstractResultCollector()
-
-
Method Details
-
getResult
-
getResult
public S getResult(long duration, TimeUnit unit) throws org.apache.geode.cache.execute.FunctionException, InterruptedException - Specified by:
getResultin interfaceorg.apache.geode.cache.execute.ResultCollector<T,S> - Throws:
org.apache.geode.cache.execute.FunctionExceptionInterruptedException
-
setResult
-
resolveTimeUnit
-
clearResults
public void clearResults() -
endResults
public void endResults() -
hasResultsEnded
protected boolean hasResultsEnded() -
hasResultsNotEnded
protected boolean hasResultsNotEnded()
-