public class PojoFunctionWrapper extends Object implements com.gemstone.gemfire.cache.execute.Function
Constructor and Description |
---|
PojoFunctionWrapper(Object target,
Method method,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
execute(com.gemstone.gemfire.cache.execute.FunctionContext functionContext) |
String |
getId() |
boolean |
hasResult() |
protected Object |
invokeTargetMethod(Object[] args) |
boolean |
isHA() |
boolean |
optimizeForWrite() |
void |
setBatchSize(int batchSize) |
void |
setHA(boolean HA) |
void |
setHasResult(boolean hasResult) |
void |
setOptimizeForWrite(boolean optimizeForWrite) |
public void setBatchSize(int batchSize)
public void setHA(boolean HA)
public boolean isHA()
isHA
in interface com.gemstone.gemfire.cache.execute.Function
public void setHasResult(boolean hasResult)
public boolean hasResult()
hasResult
in interface com.gemstone.gemfire.cache.execute.Function
public String getId()
getId
in interface com.gemstone.gemfire.cache.execute.Function
getId
in interface com.gemstone.gemfire.lang.Identifiable
public void setOptimizeForWrite(boolean optimizeForWrite)
public boolean optimizeForWrite()
optimizeForWrite
in interface com.gemstone.gemfire.cache.execute.Function
public void execute(com.gemstone.gemfire.cache.execute.FunctionContext functionContext)
execute
in interface com.gemstone.gemfire.cache.execute.Function