public class DeployTestFunction
extends com.gemstone.gemfire.cache.execute.FunctionAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERIFY_CLASS_AVAILABILITY |
| Constructor and Description |
|---|
DeployTestFunction() |
| Modifier and Type | Method and Description |
|---|---|
static BaseValueHolder |
createValueHolderInstance(java.lang.String className,
java.lang.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 java.util.Set<com.gemstone.gemfire.cache.Region<?,?>> |
getAllRegions()
Return a Set of all Regions defined in the cache
|
java.lang.String |
getId() |
public static final java.lang.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 java.util.Set<com.gemstone.gemfire.cache.Region<?,?>> getAllRegions()
public static BaseValueHolder createValueHolderInstance(java.lang.String className, java.lang.String key, RandomValues rv) throws java.lang.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.java.lang.NoSuchMethodExceptionjava.lang.SecurityExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.IllegalArgumentExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.String getId()
getId in interface com.gemstone.gemfire.cache.execute.FunctiongetId in interface com.gemstone.gemfire.lang.Identifiable<java.lang.String>getId in class com.gemstone.gemfire.cache.execute.FunctionAdapterCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.