public class TestFunction
extends com.gemstone.gemfire.cache.execute.FunctionAdapter
implements com.gemstone.gemfire.internal.cache.xmlcache.Declarable2
| Constructor and Description |
|---|
TestFunction() |
TestFunction(boolean haveResults,
String id) |
TestFunction(boolean haveResults,
String id,
boolean hashCodeId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
execute(com.gemstone.gemfire.cache.execute.FunctionContext context)
Application execution implementation
|
void |
execute1(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute2(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute3(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute4(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute5(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute8(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
execute9(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeFunctionReturningArgs(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeFunctionRunningForLongTime(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeHA(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeHAAndNonHAOnRegion(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeHAAndNonHAOnServer(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeMemberFunction(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeSocketTimeOut(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeTimeOut(com.gemstone.gemfire.cache.execute.FunctionContext context) |
void |
executeWithNoLastResult(com.gemstone.gemfire.cache.execute.FunctionContext context) |
Properties |
getConfig() |
String |
getId()
Get the function identifier, used by clients to invoke this function
|
boolean |
hasResult() |
void |
init(Properties props) |
boolean |
isHA() |
public static final String TEST_FUNCTION10
public static final String TEST_FUNCTION9
public static final String TEST_FUNCTION8
public static final String TEST_FUNCTION6
public static final String TEST_FUNCTION5
public static final String TEST_FUNCTION7
public static final String TEST_FUNCTION4
public static final String TEST_FUNCTION3
public static final String TEST_FUNCTION2
public static final String TEST_FUNCTION1
public static final String TEST_FUNCTION_EXCEPTION
public static final String TEST_FUNCTION_RESULT_SENDER
public static final String MEMBER_FUNCTION
public static final String TEST_FUNCTION_SOCKET_TIMEOUT
public static final String TEST_FUNCTION_TIMEOUT
public static final String TEST_FUNCTION_HA
public static final String TEST_FUNCTION_HA_SERVER
public static final String TEST_FUNCTION_NONHA_SERVER
public static final String TEST_FUNCTION_NONHA_REGION
public static final String TEST_FUNCTION_HA_REGION
public static final String TEST_FUNCTION_REEXECUTE_EXCEPTION
public static final String TEST_FUNCTION_ONSERVER_REEXECUTE_EXCEPTION
public static final String TEST_FUNCTION_NO_LASTRESULT
public static final String TEST_FUNCTION_LASTRESULT
public static final String TEST_FUNCTION_SEND_EXCEPTION
public static final String TEST_FUNCTION_THROW_EXCEPTION
public static final String TEST_FUNCTION_RETURN_ARGS
public static final String TEST_FUNCTION_RUNNING_FOR_LONG_TIME
public TestFunction()
public TestFunction(boolean haveResults,
String id)
public TestFunction(boolean haveResults,
String id,
boolean hashCodeId)
public void execute(com.gemstone.gemfire.cache.execute.FunctionContext context)
execute in interface com.gemstone.gemfire.cache.execute.Functionexecute in class com.gemstone.gemfire.cache.execute.FunctionAdapterpublic void executeFunctionRunningForLongTime(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeFunctionReturningArgs(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute1(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute2(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute3(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute4(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute5(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeMemberFunction(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute8(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void execute9(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeSocketTimeOut(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeTimeOut(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeHA(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeHAAndNonHAOnServer(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeHAAndNonHAOnRegion(com.gemstone.gemfire.cache.execute.FunctionContext context)
public void executeWithNoLastResult(com.gemstone.gemfire.cache.execute.FunctionContext context)
public String getId()
getId in interface com.gemstone.gemfire.cache.execute.FunctiongetId in interface com.gemstone.gemfire.lang.Identifiable<String>getId in class com.gemstone.gemfire.cache.execute.FunctionAdapterpublic boolean hasResult()
hasResult in interface com.gemstone.gemfire.cache.execute.FunctionhasResult in class com.gemstone.gemfire.cache.execute.FunctionAdapterpublic Properties getConfig()
getConfig in interface com.gemstone.gemfire.internal.cache.xmlcache.Declarable2public void init(Properties props)
init in interface com.gemstone.gemfire.cache.Declarablepublic boolean isHA()
isHA in interface com.gemstone.gemfire.cache.execute.FunctionisHA in class com.gemstone.gemfire.cache.execute.FunctionAdapterCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.