public class DeployTestFunction
extends com.gemstone.gemfire.cache.execute.FunctionAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
VERIFY_CLASS_AVAILABILITY |
| Constructor and Description |
|---|
DeployTestFunction() |
| Modifier and Type | Method and Description |
|---|---|
static BaseValueHolder |
createValueHolderInstance(String className,
String key,
RandomValues rv)
Use reflection to create a new instance of a BaseValueHolder that
has a constructor with args (String, RandomValues) and is not available
on the classpath currently because it wa compiled outside the
|
void |
execute(com.gemstone.gemfire.cache.execute.FunctionContext context) |
protected Set<com.gemstone.gemfire.cache.Region<?,?>> |
getAllRegions()
Return a Set of all Regions defined in the cache
|
String |
getId() |
public static final String VERIFY_CLASS_AVAILABILITY
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.FunctionAdapterprotected Set<com.gemstone.gemfire.cache.Region<?,?>> getAllRegions()
public static BaseValueHolder createValueHolderInstance(String className, String key, RandomValues rv) throws ClassNotFoundException
className - The specific class to create (really any class with constructor
with args (String, RandomValues).key - The String argument to the constructor.rv - The RandomValues instance to pass to the constructor.NoSuchMethodExceptionSecurityExceptionIllegalAccessExceptionInstantiationExceptionIllegalArgumentExceptionClassNotFoundExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.