|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.gemfire.function.execution.GemfireOnServersFunctionTemplate
public class GemfireOnServersFunctionTemplate
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
|
protected com.gemstone.gemfire.cache.execute.ResultCollector<?,?> |
resultCollector
|
protected long |
timeout
|
Constructor Summary | |
---|---|
GemfireOnServersFunctionTemplate(com.gemstone.gemfire.cache.client.Pool pool)
|
|
GemfireOnServersFunctionTemplate(com.gemstone.gemfire.cache.RegionService cache)
|
Method Summary | ||
---|---|---|
protected
|
execute(org.springframework.data.gemfire.function.execution.AbstractFunctionExecution execution)
|
|
|
execute(com.gemstone.gemfire.cache.execute.Function function,
Object... args)
Execute an unregistered function |
|
|
execute(GemfireFunctionCallback<T> callback)
Execute a function using a native GemFire Execution instance |
|
|
execute(String functionId,
Object... args)
Execute a function registered with an ID |
|
protected
|
executeAndExtract(org.springframework.data.gemfire.function.execution.AbstractFunctionExecution execution)
|
|
|
executeAndExtract(com.gemstone.gemfire.cache.execute.Function function,
Object... args)
Execute an unregistered function with an expected singleton result |
|
|
executeAndExtract(String functionId,
Object... args)
Execute a function registered with an ID and with an expected singleton result |
|
protected org.springframework.data.gemfire.function.execution.AbstractFunctionExecution |
getFunctionExecution()
|
|
com.gemstone.gemfire.cache.execute.ResultCollector<?,?> |
getResultCollector()
|
|
void |
setResultCollector(com.gemstone.gemfire.cache.execute.ResultCollector<?,?> resultCollector)
|
|
void |
setTimeout(long timeout)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.commons.logging.Log log
protected long timeout
protected volatile com.gemstone.gemfire.cache.execute.ResultCollector<?,?> resultCollector
Constructor Detail |
---|
public GemfireOnServersFunctionTemplate(com.gemstone.gemfire.cache.RegionService cache)
public GemfireOnServersFunctionTemplate(com.gemstone.gemfire.cache.client.Pool pool)
Method Detail |
---|
protected org.springframework.data.gemfire.function.execution.AbstractFunctionExecution getFunctionExecution()
public <T> Iterable<T> execute(com.gemstone.gemfire.cache.execute.Function function, Object... args)
GemfireFunctionOperations
execute
in interface GemfireFunctionOperations
function
- the functionargs
- calling arguments
public <T> T executeAndExtract(com.gemstone.gemfire.cache.execute.Function function, Object... args)
GemfireFunctionOperations
executeAndExtract
in interface GemfireFunctionOperations
function
- the functionargs
- calling arguments
public <T> Iterable<T> execute(String functionId, Object... args)
GemfireFunctionOperations
execute
in interface GemfireFunctionOperations
functionId
- the function IDargs
- the calling arguments
public <T> T executeAndExtract(String functionId, Object... args)
GemfireFunctionOperations
executeAndExtract
in interface GemfireFunctionOperations
functionId
- the function IDargs
- the calling arguments
public <T> T execute(GemfireFunctionCallback<T> callback)
GemfireFunctionOperations
Execution
instance
execute
in interface GemfireFunctionOperations
callback
- a callback providing the execution instance
protected <T> Iterable<T> execute(org.springframework.data.gemfire.function.execution.AbstractFunctionExecution execution)
protected <T> T executeAndExtract(org.springframework.data.gemfire.function.execution.AbstractFunctionExecution execution)
public void setTimeout(long timeout)
public void setResultCollector(com.gemstone.gemfire.cache.execute.ResultCollector<?,?> resultCollector)
public com.gemstone.gemfire.cache.execute.ResultCollector<?,?> getResultCollector()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |