public class PojoFunctionWrapper extends ObjectSE implements org.apache.geode.cache.execute.Function
POJOSE MethodSE を (リモート) Pivotal GemFire/Apache Geode Function として呼び出します。POJOSE に MapSE を受け取るコンストラクターがあり、Function コンテキストが Region である場合、Region が挿入されます。デリゲート class nameSE、method nameSE、MethodSE 引数は Function 呼び出しの一部であるため、すべての引数は SerializableSE であるか、代替の直列化戦略を使用する必要があります。デリゲート ClassSE は、リモートキャッシュのクラスパス上に存在する必要があります。Function, 連載形式 | コンストラクターと説明 |
|---|
PojoFunctionWrapper(ObjectSE target, MethodSE method) |
PojoFunctionWrapper(ObjectSE target, MethodSE method, StringSE id) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | execute(org.apache.geode.cache.execute.FunctionContext functionContext) |
int | getBatchSize() |
StringSE | getId() |
CollectionSE<org.apache.geode.security.ResourcePermission> | getRequiredPermissions(StringSE regionName) |
boolean | hasResult() |
protected ObjectSE | invokeTargetMethod(ObjectSE[] args) |
boolean | isHA() |
protected org.springframework.data.gemfire.function.FunctionArgumentResolver | newFunctionArgumentResolver(MethodSE method) |
boolean | optimizeForWrite() |
protected boolean | resolveHasResult(MethodSE method) |
protected StringSE | resolveId(MethodSE method, StringSE id) |
void | setBatchSize(int batchSize) |
void | setHA(boolean HA) |
void | setHasResult(boolean hasResult) |
void | setOptimizeForWrite(boolean optimizeForWrite) |
void | setRequiredPermissions(CollectionSE<org.apache.geode.security.ResourcePermission> requiredPermissions) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected org.springframework.data.gemfire.function.FunctionArgumentResolver newFunctionArgumentResolver(MethodSE method)
protected boolean resolveHasResult(MethodSE method)
public void setBatchSize(int batchSize)
public int getBatchSize()
public void setHA(boolean HA)
public boolean isHA()
org.apache.geode.cache.execute.Function の isHA public void setHasResult(boolean hasResult)
public boolean hasResult()
org.apache.geode.cache.execute.Function の hasResult public StringSE getId()
org.apache.geode.cache.execute.Function の getId org.apache.geode.lang.Identifiable の getId public void setOptimizeForWrite(boolean optimizeForWrite)
public boolean optimizeForWrite()
org.apache.geode.cache.execute.Function の optimizeForWrite public void setRequiredPermissions(CollectionSE<org.apache.geode.security.ResourcePermission> requiredPermissions)
public CollectionSE<org.apache.geode.security.ResourcePermission> getRequiredPermissions(StringSE regionName)
org.apache.geode.cache.execute.Function の getRequiredPermissions public void execute(org.apache.geode.cache.execute.FunctionContext functionContext)
org.apache.geode.cache.execute.Function の execute Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.