public class PojoFunctionWrapper extends Object implements org.apache.geode.cache.execute.Function
Constructor and Description |
---|
PojoFunctionWrapper(Object target,
Method method,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.geode.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 org.apache.geode.cache.execute.Function
public void setHasResult(boolean hasResult)
public boolean hasResult()
hasResult
in interface org.apache.geode.cache.execute.Function
public String getId()
getId
in interface org.apache.geode.cache.execute.Function
getId
in interface org.apache.geode.lang.Identifiable<String>
public void setOptimizeForWrite(boolean optimizeForWrite)
public boolean optimizeForWrite()
optimizeForWrite
in interface org.apache.geode.cache.execute.Function
public void execute(org.apache.geode.cache.execute.FunctionContext functionContext)
execute
in interface org.apache.geode.cache.execute.Function
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.