Skip navigation links
A B C D E F G H I J K L M N O P R S T V W 

A

acquireSharedLock() - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
acquireSharedLock() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
acquireSharedLock() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
addAndGet(Object, int, int) - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
addAndGet(Object, int, int) - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
addAndGet(Object, int, int) - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
addExpectedException(String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Log in all VMs, in both the test logger and the GemFire logger the expected exception string to prevent grep logs from complaining.
addExpectedException(String, VM) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Log in all VMs, in both the test logger and the GemFire logger the expected exception string to prevent grep logs from complaining.
addHost(Host) - Static method in class io.snappydata.test.dunit.Host
Makes note of a new Host
addLocator(int, RemoteDUnitVMIF) - Method in class io.snappydata.test.dunit.Host
 
addVM(int, RemoteDUnitVMIF) - Method in class io.snappydata.test.dunit.Host
Adds a VM to this Host with the given process id and client record.
AEQHelper - Class in io.snappydata.test.util
 
AEQHelper() - Constructor for class io.snappydata.test.util.AEQHelper
 
afterClass() - Method in class io.snappydata.test.dunit.DistributedTestBase
Common cleanup for all the tests in a class.
AnyCyclicBarrier - Class in io.snappydata.test.dunit.standalone
A cyclic barrier for use in synchronizing between dunit VMs.
AnyCyclicBarrier(int, String) - Constructor for class io.snappydata.test.dunit.standalone.AnyCyclicBarrier
 
AsyncInvocation - Class in io.snappydata.test.dunit
An AsyncInvocation represents the invocation of a remote invocation that executes asynchronously from its caller.
AsyncInvocation(Object, String, Runnable) - Constructor for class io.snappydata.test.dunit.AsyncInvocation
Creates a new AsyncInvocation
AvailablePortHelper - Class in io.snappydata.test.dunit
Provides helper methods for acquiring a set of unique available ports.
AvailablePortHelper() - Constructor for class io.snappydata.test.dunit.AvailablePortHelper
 
await() - Method in class io.snappydata.test.dunit.standalone.AnyCyclicBarrier
 
await(long) - Method in class io.snappydata.test.dunit.standalone.AnyCyclicBarrier
 

B

BASE_LOGGER_NAME - Static variable in class io.snappydata.test.dunit.Host
 
beforeClass() - Method in class io.snappydata.test.dunit.DistributedTestBase
Common setup for all the tests in a class.
beforeClassDone - Static variable in class io.snappydata.test.dunit.DistributedTestBase
this indicates whether beforeClass has been executed for current class
bounce(int) - Method in class io.snappydata.test.dunit.DUnitEnv
 
bounce(int) - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
bounce(int) - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
bounce(int) - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
bounce(int) - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
bounce() - Method in class io.snappydata.test.dunit.VM
Synchronously bounces (mean kills and restarts) this VM.
BounceResult - Class in io.snappydata.test.dunit
 
BounceResult(int, RemoteDUnitVMIF) - Constructor for class io.snappydata.test.dunit.BounceResult
 

C

checkBBFlag(String, int) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
checkForSuspectStrings() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
checkIsAllocated(SimpleMemoryAllocatorImpl.Chunk) - Static method in class io.snappydata.test.memscale.OffHeapHelperVersionHelper
 
ChildVM - Class in io.snappydata.test.dunit.standalone
 
ChildVM() - Constructor for class io.snappydata.test.dunit.standalone.ChildVM
 
clearBBFlag(String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
close() - Method in class io.snappydata.test.batterytest.greplogs.LogConsumer
 
closeAllOffHeapRegions() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Closes all off-heap regions in the cache and waits for off-heap memory to be empty (closing a region asynchronously releases the off-heap memor y it held, so we want to wait for that to finish).
closeAllRegions() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Closes all offheap regions in the cache and waits for off-heap memory to be empty (closing a region asynchronously releases the off-heap memory it held, so we want to wait for that to finish).
compareTo(Object) - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
ConfigLocator - Class in io.snappydata.test.dunit.logging.log4j
Utility methods for finding the Log4J 2 configuration file.
ConfigLocator() - Constructor for class io.snappydata.test.dunit.logging.log4j.ConfigLocator
 
consume(CharSequence) - Method in class io.snappydata.test.batterytest.greplogs.LogConsumer
 
create(String) - Static method in class io.snappydata.test.batterytest.greplogs.ExpectedStrings
 

D

deleteLocatorStateFile(int...) - Method in class io.snappydata.test.dunit.DistributedTestBase
delete locator state files.
description() - Method in interface io.snappydata.test.dunit.DistributedTestBase.WaitCriterion
 
destroy() - Method in class io.snappydata.test.dunit.standalone.AnyCyclicBarrier
 
destroy(String) - Static method in class io.snappydata.test.dunit.standalone.AnyCyclicBarrier
 
disconnectFromDS() - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
disconnectVM() - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 
DistributedTestBase - Class in io.snappydata.test.dunit
This class is the superclass of all distributed unit tests.
DistributedTestBase(String) - Constructor for class io.snappydata.test.dunit.DistributedTestBase
Creates a new DistributedTestBase test with the given name.
DistributedTestBase.ExpectedException - Class in io.snappydata.test.dunit
A class that represents an currently logged expected exception, which should be removed
DistributedTestBase.InitializeRun - Class in io.snappydata.test.dunit
 
DistributedTestBase.WaitCriterion - Interface in io.snappydata.test.dunit
 
DistributedTestBase.WaitCriterion2 - Interface in io.snappydata.test.dunit
 
done() - Method in interface io.snappydata.test.dunit.DistributedTestBase.WaitCriterion
 
dumpAllStacks() - Static method in class io.snappydata.test.dunit.DistributedTestBase
print stack dumps for all vms
dumpOffHeapOrphans() - Static method in class io.snappydata.test.memscale.OffHeapHelper
use internal product calls to determine who the orphans are and log them
dumpStack() - Static method in class io.snappydata.test.dunit.DistributedTestBase
print a stack dump for this vm
dumpStack(Logger) - Static method in class io.snappydata.test.dunit.DistributedTestBase
print a stack dump for this vm
dumpStack(VM) - Static method in class io.snappydata.test.dunit.DistributedTestBase
print a stack dump for the given vm
dumpStack(Host) - Static method in class io.snappydata.test.dunit.DistributedTestBase
print stack dumps for all vms on the given host
dumpStackTrace(Thread, StackTraceElement[], Logger) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
DUNIT_DIR - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
DUnitBB - Class in io.snappydata.test.dunit.standalone
A blackboard for DUnit tests that can be used to share information between the JVMs that are part of a DUnit test.
DUnitBB() - Constructor for class io.snappydata.test.dunit.standalone.DUnitBB
 
DUnitEnv - Class in io.snappydata.test.dunit
This class provides an abstraction over the environment that is used to run dunit.
DUnitEnv() - Constructor for class io.snappydata.test.dunit.DUnitEnv
 
DUnitLauncher - Class in io.snappydata.test.dunit.standalone
A class to build a fake test configuration and launch some DUnit VMS.
DUnitLauncher.Master - Class in io.snappydata.test.dunit.standalone
 
DUnitLauncher.MasterRemote - Interface in io.snappydata.test.dunit.standalone
 

E

equals(Object) - Method in class io.snappydata.test.dunit.Host
Two Hosts are considered equal if they have the same name.
equals(Object) - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
exception - Variable in class io.snappydata.test.dunit.AsyncInvocation
An exception thrown while this async invocation ran
EXCEPTION_OCCURRED - Static variable in class io.snappydata.test.hydra.MethExecutorResult
A "result" object that indicates that an exception occurred while invoking the method
exceptionOccurred() - Method in class io.snappydata.test.dunit.AsyncInvocation
Returns whether or not an exception occurred during this async method invocation.
exceptionOccurred() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns whether or not an exception occurred while invoking the method
execute(String, String) - Static method in class io.snappydata.test.hydra.MethExecutor
Send the message "selector" to the class named "receiver".
execute(String, String, Object[]) - Static method in class io.snappydata.test.hydra.MethExecutor
Executes the given static method on the given class with the given arguments.
executeInstance(String, String) - Static method in class io.snappydata.test.hydra.MethExecutor
Send the message "selector" to an instance of the class named "receiver".
executeInstance(String, String, Class[], Object[]) - Static method in class io.snappydata.test.hydra.MethExecutor
Send the message "selector" to an instance of the class named "receiver".
executeMethodOnClass(String, String, Object[]) - Method in interface io.snappydata.test.dunit.RemoteDUnitVMIF
 
executeMethodOnClass(String, String) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
Called remotely by the master controller to cause the client to execute the method on the class.
executeMethodOnClass(String, String, Object[]) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
Executes a given static method in a given class with the given arguments.
executeMethodOnObject(Object, String) - Method in interface io.snappydata.test.dunit.RemoteDUnitVMIF
 
executeMethodOnObject(Object, String, Object[]) - Method in interface io.snappydata.test.dunit.RemoteDUnitVMIF
 
executeMethodOnObject(Object, String) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
Called remotely by the master controller to cause the client to execute the instance method on the object.
executeMethodOnObject(Object, String, Object[]) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
Executes a given instance method on a given object with the given arguments.
executeObject(Object, String) - Static method in class io.snappydata.test.hydra.MethExecutor
Send the message "selector" to the object "target".
executeObject(Object, String, Object[]) - Static method in class io.snappydata.test.hydra.MethExecutor
Executes the given instance method on the given object with the given arguments.
executeTask(int, int, int) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 
ExpectedException(String) - Constructor for class io.snappydata.test.dunit.DistributedTestBase.ExpectedException
 
ExpectedStrings - Class in io.snappydata.test.batterytest.greplogs
 

F

fail(String, Throwable) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Helper method that causes this test to fail because of the given exception.
findConfigInWorkingDirectory() - Static method in class io.snappydata.test.dunit.logging.log4j.ConfigLocator
Finds a Log4j configuration file in the current working directory.

G

generateThreadDump(StringBuilder) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
get() - Static method in class io.snappydata.test.dunit.DUnitEnv
 
get(Object) - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
get(Object) - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
get(Object) - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
getAddString() - Method in class io.snappydata.test.dunit.DistributedTestBase.ExpectedException
 
getAllDistributedSystemProperties(Properties) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
getAllRegions() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Return a Set of all regions defined in this member.
getBaseDir() - Static method in class io.snappydata.test.dunit.DistributedTestBase.InitializeRun
 
getBB() - Static method in class io.snappydata.test.dunit.standalone.DUnitBB
Get the DUnitBB
getCause() - Method in exception io.snappydata.test.dunit.RMIException
Returns the cause of this exception.
getCurrentVMNum() - Static method in class io.snappydata.test.dunit.VM
 
getDistributedSystemProperties() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getDistributedSystemProperties() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
getDistributedSystemProperties() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getDUnitLocatorPort() - Static method in class io.snappydata.test.dunit.DistributedTestBase
Get the port that the standard dunit locator is listening on.
getException() - Method in class io.snappydata.test.dunit.AsyncInvocation
Returns the exception that was thrown during this async method invocation.
getException() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns the exception that was thrown while invoking a method.
getExceptionClassName() - Method in exception io.snappydata.test.dunit.RMIException
Returns the class name of the exception that was thrown in a remote method invocation.
getExceptionClassName() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns the name of the exception class of the exception that was thrown while invoking a method.
getExceptionMessage() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns the message of the exception that was thrown while invoking a method.
getFirstMemoryAddress() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
getGlobalLogger() - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
getHost(int) - Static method in class io.snappydata.test.dunit.Host
Returns a given host
getHost() - Method in class io.snappydata.test.dunit.VM
Returns the host on which this VM runs
getHostAddress(InetAddress) - Static method in class io.snappydata.test.dunit.DistributedTestBase
A wrapper for InetAddress.getHostAddress() that removes the scope_id from all IPv4 address and all global IPv6 addresses.
getHostCount() - Static method in class io.snappydata.test.dunit.Host
Returns the number of known hosts
getHostName() - Method in class io.snappydata.test.dunit.Host
Returns the machine name of this host
getIPLiteral() - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
getKey() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
getLastMemoryAddress() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
Return the last memory address consumed by this chunk
getLocator() - Static method in class io.snappydata.test.dunit.Host
 
getLocator() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
getLocatorAddress() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getLocatorAddress() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getLocatorPort() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getLocatorPort() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
getLocatorPort() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
getLocatorPort() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getLocatorString() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getLocatorString() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
getLocatorString() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getLogLevel() - Method in class io.snappydata.test.dunit.DistributedTestBase
This returns the log level configured for the test run.
getLogWriter() - Method in class io.snappydata.test.dunit.DistributedTestBase
 
getMapCopy() - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
getMapCopy() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
getMapCopy() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
getMaster() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
getMethod(Class, String, Class[]) - Static method in class io.snappydata.test.hydra.MethExecutor
Helper method that searches a class (and its superclasses) for a method with the given name and parameter types.
getMethodName() - Method in class io.snappydata.test.dunit.AsyncInvocation
Returns the name of the method being invoked remotely
getName() - Method in class io.snappydata.test.dunit.SerializableRunnable
 
getNewClient() - Method in class io.snappydata.test.dunit.BounceResult
 
getNewPid() - Method in class io.snappydata.test.dunit.BounceResult
 
getNumberBytes() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
getOffHeapMemoryStats() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Return the off-heap memory stats object for this member
getPid() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getPid() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getPid() - Method in class io.snappydata.test.dunit.VM
Returns the process id of this VM
getRandomAvailablePortForDUnitSite() - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns array of unique randomly available tcp ports of specified count.
getRandomAvailableTCPPort() - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns randomly available tcp port.
getRandomAvailableTCPPortKeepers(int) - Static method in class io.snappydata.test.dunit.AvailablePortHelper
 
getRandomAvailableTCPPorts(int) - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns array of unique randomly available tcp ports of specified count.
getRandomAvailableTCPPortsForDUnitSite(int) - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns array of unique randomly available tcp ports of specified count.
getRandomAvailableUDPPort() - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns randomly available udp port.
getRandomAvailableUDPPorts(int) - Static method in class io.snappydata.test.dunit.AvailablePortHelper
Returns array of unique randomly available udp ports of specified count.
getReceiver() - Method in class io.snappydata.test.dunit.AsyncInvocation
Returns the receiver of this async method invocation
getRegionName() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
getRemoveString() - Method in class io.snappydata.test.dunit.DistributedTestBase.ExpectedException
 
getRepeatTimeoutMs() - Method in class io.snappydata.test.dunit.DistributedTestBase
The number of milliseconds to try repeating validation code in the event that AssertionFailedError is thrown.
getResult() - Method in class io.snappydata.test.dunit.AsyncInvocation
 
getResult(long) - Method in class io.snappydata.test.dunit.AsyncInvocation
 
getResult() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns the result of the method call.
getReturnValue() - Method in class io.snappydata.test.dunit.AsyncInvocation
 
getServerHostName(Host) - Static method in class io.snappydata.test.dunit.DistributedTestBase
get the host name to use for a server cache in client/server dunit testing
getStackTrace(Throwable) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Get a stack trace for the given Throwable and return it as a String.
getStackTrace() - Method in class io.snappydata.test.hydra.MethExecutorResult
Returns the stack trace of the exception that was thrown while invoking a method.
getStub(int) - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
getSystem() - Method in class io.snappydata.test.dunit.DistributedTestBase
 
getSystem(Properties) - Method in class io.snappydata.test.dunit.DistributedTestBase
 
getSystemCount() - Method in class io.snappydata.test.dunit.Host
Returns the number of GemFire systems that run on this host
getTestClass() - Method in class io.snappydata.test.dunit.DistributedTestBase
 
getTestName() - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
getUniqueName() - Method in class io.snappydata.test.dunit.DistributedTestBase
Returns a unique name for this test method.
getVM(int) - Method in class io.snappydata.test.dunit.Host
Returns a VM that runs on this host
getVM() - Method in exception io.snappydata.test.dunit.RMIException
Returns the VM in which the remote method was invoked
getVMCount() - Static method in class io.snappydata.test.dunit.DistributedTestBase
Return the total number of VMs on all hosts
getVMCount() - Method in class io.snappydata.test.dunit.Host
Returns the number of VMs that run on this host
getVMDir(int, boolean) - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
getVMID() - Method in class io.snappydata.test.dunit.DUnitEnv
 
getVMID() - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getWorkingDirectory(int) - Method in class io.snappydata.test.dunit.DUnitEnv
 
getWorkingDirectory(int) - Method in class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
getWorkingDirectory() - Method in class io.snappydata.test.dunit.VM
 
GsRandom - Class in io.snappydata.test.hydra
This is a simple extension of java.util.Random that allows for the generation of random numbers within ranges.
GsRandom() - Constructor for class io.snappydata.test.hydra.GsRandom
Creates a new random number generator.
GsRandom(long) - Constructor for class io.snappydata.test.hydra.GsRandom
Creates a new random number generator using a single long seed.

H

hashCode() - Method in class io.snappydata.test.dunit.Host
A Host's hash code is based on the hash code of its name.
hashCode() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 
Host - Class in io.snappydata.test.dunit
This class represents a host on which a remote method may be invoked.
Host(String) - Constructor for class io.snappydata.test.dunit.Host
Creates a new Host with the given name
hosts - Static variable in class io.snappydata.test.dunit.Host
The available hosts
HydraRuntimeException - Exception in io.snappydata.test.hydra
 
HydraRuntimeException(String) - Constructor for exception io.snappydata.test.hydra.HydraRuntimeException
 
HydraRuntimeException(String, Exception) - Constructor for exception io.snappydata.test.hydra.HydraRuntimeException
 
HydraRuntimeException(String, Throwable) - Constructor for exception io.snappydata.test.hydra.HydraRuntimeException
 

I

incBBFlag(String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
init(DUnitLauncher.MasterRemote) - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
InitializeRun() - Constructor for class io.snappydata.test.dunit.DistributedTestBase.InitializeRun
 
instance - Static variable in class io.snappydata.test.dunit.DUnitEnv
 
invoke(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static zero-arg method with an Object or void return type in this VM.
invoke(Class, String, Object) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with an Object or void return type in this VM.
invoke(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with an Object or void return type in this VM.
invoke(Runnable) - Method in class io.snappydata.test.dunit.VM
Invokes the run method of a Runnable in this VM.
invoke(Callable) - Method in class io.snappydata.test.dunit.VM
Invokes the run method of a Runnable in this VM.
invoke(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method with no arguments on an object that is serialized into this VM.
invoke(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeAsync(Class, String) - Method in class io.snappydata.test.dunit.VM
Asynchronously invokes a static zero-arg method with an Object or void return type in this VM.
invokeAsync(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Asynchronously invokes a static method with an Object or void return type in this VM.
invokeAsync(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Asynchronously invokes an instance method with an Object or void return type in this VM.
invokeAsync(Runnable) - Method in class io.snappydata.test.dunit.VM
Invokes the run method of a Runnable in this VM.
invokeAsync(Callable) - Method in class io.snappydata.test.dunit.VM
Invokes the call method of a Runnable in this VM.
invokeBoolean(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a boolean return type in this VM.
invokeBoolean(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a boolean return type in this VM.
invokeBoolean(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeBoolean(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeByte(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a byte return type in this VM.
invokeByte(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a byte return type in this VM.
invokeByte(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeByte(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeChar(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a char return type in this VM.
invokeChar(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a char return type in this VM.
invokeChar(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeChar(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeDouble(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a double return type in this VM.
invokeDouble(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a double return type in this VM.
invokeDouble(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeDouble(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeFloat(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a float return type in this VM.
invokeFloat(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a float return type in this VM.
invokeFloat(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeFloat(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeInEveryVM(SerializableRunnable) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a SerializableRunnable in every VM that DUnit knows about.
invokeInEveryVM(SerializableCallable) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a SerializableCallable in every VM that DUnit knows about.
invokeInEveryVM(Class, String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a method in every remote VM that DUnit knows about.
invokeInEveryVM(Class, String, Object[]) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a method in every remote VM that DUnit knows about.
invokeInEveryVMRepeatingIfNecessary(RepeatableRunnable) - Method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a SerializableRunnable in every VM that DUnit knows about.
invokeInLocator(SerializableRunnable) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
invokeInt(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a int return type in this VM.
invokeInt(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a int return type in this VM.
invokeInt(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeInt(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeInVM(VM, String, String, Object[]) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
invokeInVM(VM, String, Object...) - Method in class io.snappydata.test.dunit.DistributedTestBase
Invokes a method in every remote VM that DUnit knows about.
invokeLong(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a long return type in this VM.
invokeLong(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a long return type in this VM.
invokeLong(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeLong(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeMain(Class, String[]) - Method in class io.snappydata.test.dunit.VM
Invokes the main method of a given class
invokeMainAsync(Class, String[]) - Method in class io.snappydata.test.dunit.VM
Asynchronously invokes the main method of a given class
invokeRepeatingIfNecessary(VM, RepeatableRunnable) - Method in class io.snappydata.test.dunit.DistributedTestBase
 
invokeRepeatingIfNecessary(RepeatableRunnable, long) - Method in class io.snappydata.test.dunit.VM
Invokes the runRunnable in this VM.
invokeShort(Class, String) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a short return type in this VM.
invokeShort(Class, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes a static method with a short return type in this VM.
invokeShort(Object, String) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
invokeShort(Object, String, Object[]) - Method in class io.snappydata.test.dunit.VM
Invokes an instance method on an object that is serialized into this VM.
io.snappydata.test.batterytest.greplogs - package io.snappydata.test.batterytest.greplogs
 
io.snappydata.test.dunit - package io.snappydata.test.dunit
 
io.snappydata.test.dunit.logging.log4j - package io.snappydata.test.dunit.logging.log4j
 
io.snappydata.test.dunit.standalone - package io.snappydata.test.dunit.standalone
 
io.snappydata.test.hydra - package io.snappydata.test.hydra
 
io.snappydata.test.memscale - package io.snappydata.test.memscale
 
io.snappydata.test.util - package io.snappydata.test.util
 
isLaunched() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
Test it see if the eclise dunit environment is launched.
isOffHeapMemoryConfigured() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Determines if this member has off-heap memory currently allocated.

J

join(Thread, long, Logger) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Wait for a thread to join

K

killVMs() - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 

L

lastTest - Static variable in class io.snappydata.test.dunit.DistributedTestBase
this stores the last test method in the current class for afterClass
launchIfNeeded() - Static method in class io.snappydata.test.dunit.standalone.DUnitLauncher
Launch DUnit.
launchVM(int) - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
launchVMs() - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
levelNameToCode(String) - Static method in class io.snappydata.test.hydra.LogVersionHelper
 
levelToString(int) - Static method in class io.snappydata.test.hydra.LogVersionHelper
 
lineSeparator - Static variable in class io.snappydata.test.dunit.DistributedTestBase
the system line separator
LOCATOR_LOG_TO_DISK - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
LOG_LEVEL - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
LogConsumer - Class in io.snappydata.test.batterytest.greplogs
 
LogConsumer(boolean, List, String, int) - Constructor for class io.snappydata.test.batterytest.greplogs.LogConsumer
 
logger - Static variable in class io.snappydata.test.memscale.OffHeapHelper
 
logger - Static variable in class io.snappydata.test.util.AEQHelper
 
logPerTest - Static variable in class io.snappydata.test.dunit.DistributedTestBase
 
logTestHistory() - Method in class io.snappydata.test.dunit.DistributedTestBase
Write a message to the log about what tests have ran previously.
LogVersionHelper - Class in io.snappydata.test.hydra
Provides version-dependent support for logging changes.
LogVersionHelper() - Constructor for class io.snappydata.test.hydra.LogVersionHelper
 

M

main(String[]) - Static method in class io.snappydata.test.dunit.standalone.ChildVM
 
main(String[]) - Static method in class io.snappydata.test.hydra.MethExecutor
 
Master(Registry, ProcessManager) - Constructor for class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
MethExecutor - Class in io.snappydata.test.hydra
A class specialized for executing (via reflection) the receiver/selector pairs found in TestTasks.
MethExecutor() - Constructor for class io.snappydata.test.hydra.MethExecutor
 
MethExecutorResult - Class in io.snappydata.test.hydra
The result of a MethExecutor execute method.
MethExecutorResult() - Constructor for class io.snappydata.test.hydra.MethExecutorResult
 
MethExecutorResult(Object) - Constructor for class io.snappydata.test.hydra.MethExecutorResult
 
MethExecutorResult(Throwable) - Constructor for class io.snappydata.test.hydra.MethExecutorResult
This constructor is invoked when invoking a method resulted in an exception being thrown.

N

nextBoolean() - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence
nextByte() - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed byte value from this random number generator's sequence
nextChar() - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed char value from this random number generator's sequence There is a hack here to prevent '}' so as to eliminate the possiblity of generating a sequence which would falsely get marked as a suspect string while we are matching the pattern {[0-9]+}.
nextDate() - Method in class io.snappydata.test.hydra.GsRandom
Returns a random Date.
nextDouble(double) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed double value from this random number generator's sequence within a range from 0 to max.
nextDouble(double, double) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed double value from this random number generator's sequence within a range from min to max.
nextInt(int) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence within a range from 0 to max (inclusive -- which is different from Random.nextInt()).
nextInt(int, int) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence within a range from min to max.
nextLong(long) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence within a range from 0 to max.
nextLong(long, long) - Method in class io.snappydata.test.hydra.GsRandom
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence within a range from min to max.
nextShort() - Method in class io.snappydata.test.hydra.GsRandom
 
NO_REGISTRY - Static variable in class io.snappydata.test.dunit.Host
Indicates an unstarted RMI registry
NONSERIALIZABLE_EXCEPTION - Static variable in class io.snappydata.test.hydra.MethExecutorResult
A "exception" object that indicates that an exception could not be serialized.
noteTiming(long, String, long, long, String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
notifyDynamicActionComplete(int) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 

O

OffHeapChunkInfo - Class in io.snappydata.test.memscale
 
OffHeapChunkInfo(String, Object, long, long) - Constructor for class io.snappydata.test.memscale.OffHeapChunkInfo
 
OffHeapHelper - Class in io.snappydata.test.memscale
 
OffHeapHelper() - Constructor for class io.snappydata.test.memscale.OffHeapHelper
 
OffHeapHelperVersionHelper - Class in io.snappydata.test.memscale
 
OffHeapHelperVersionHelper() - Constructor for class io.snappydata.test.memscale.OffHeapHelperVersionHelper
 
ourString - Static variable in class io.snappydata.test.hydra.GsRandom
ourString is a privately held instance of a String with with some junk characters

P

pause() - Method in class io.snappydata.test.dunit.DistributedTestBase
pause for a default interval
pause(int) - Static method in class io.snappydata.test.dunit.DistributedTestBase
pause for specified ms interval Make sure system clock has advanced by the specified number of millis before returning.
perVMSetUp(String, String) - Method in class io.snappydata.test.dunit.DistributedTestBase
 
perVMTearDown(String) - Method in class io.snappydata.test.dunit.DistributedTestBase
 
ping() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
ping() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
ProcessManager - Class in io.snappydata.test.dunit.standalone
 
ProcessManager(int, Registry) - Constructor for class io.snappydata.test.dunit.standalone.ProcessManager
 
put(Object, Object) - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
put(Object, Object) - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
put(Object, Object) - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 

R

randomElement(Vector) - Method in class io.snappydata.test.hydra.GsRandom
Returns a randomly-selected element of Vector vec.
randomReadableString(int) - Method in class io.snappydata.test.hydra.GsRandom
Like randomString(), but returns only readable characters.
randomString() - Method in class io.snappydata.test.hydra.GsRandom
Returns a random subset of a pregenerated string.
randomString(int) - Method in class io.snappydata.test.hydra.GsRandom
Returns a bounded random subset of a pregenerated large string.
reconnect - Static variable in class io.snappydata.test.dunit.DistributedTestBase
 
releaseSharedLock() - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
releaseSharedLock() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
releaseSharedLock() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
RemoteDUnitVM - Class in io.snappydata.test.dunit.standalone
 
RemoteDUnitVM() - Constructor for class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 
RemoteDUnitVMIF - Interface in io.snappydata.test.dunit
 
remove() - Method in class io.snappydata.test.dunit.DistributedTestBase.ExpectedException
 
remove(Object) - Method in class io.snappydata.test.dunit.standalone.DUnitBB
 
remove(Object) - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
remove(Object) - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
RepeatableRunnable - Interface in io.snappydata.test.dunit
A RepeatableRunnable is an object that implements a method that can be invoked repeatably without causing any side affects.
returnedObj - Variable in class io.snappydata.test.dunit.AsyncInvocation
The returned object if any
RMIException - Exception in io.snappydata.test.dunit
This exception is thrown when an exception occurs during a remote method invocation.
RMIException(VM, String, String, Throwable) - Constructor for exception io.snappydata.test.dunit.RMIException
Creates a new RMIException that was caused by a given Throwable while invoking a given method.
RMIException(VM, String, String, Throwable, String) - Constructor for exception io.snappydata.test.dunit.RMIException
Creates a new RMIException to indicate that an exception of a given type was thrown while invoking a given method.
run() - Method in class io.snappydata.test.dunit.AsyncInvocation
 
runRepeatingIfNecessary(long) - Method in interface io.snappydata.test.dunit.RepeatableRunnable
 
runShutdownHook() - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 

S

SchedulingOrder - Exception in io.snappydata.test.hydra
Abstract class for clients giving scheduling instructions to the hydra master.
SchedulingOrder() - Constructor for exception io.snappydata.test.hydra.SchedulingOrder
 
SchedulingOrder(String) - Constructor for exception io.snappydata.test.hydra.SchedulingOrder
 
SECURITY_LOG_LEVEL - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
SerializableCallable<T> - Class in io.snappydata.test.dunit
This interface provides both Serializable and Callable.
SerializableCallable() - Constructor for class io.snappydata.test.dunit.SerializableCallable
 
SerializableCallable(String) - Constructor for class io.snappydata.test.dunit.SerializableCallable
 
SerializableRunnable - Class in io.snappydata.test.dunit
This interface provides both Serializable and Runnable.
SerializableRunnable() - Constructor for class io.snappydata.test.dunit.SerializableRunnable
 
SerializableRunnable(String) - Constructor for class io.snappydata.test.dunit.SerializableRunnable
This constructor lets you do the following:
set(DUnitEnv) - Static method in class io.snappydata.test.dunit.DUnitEnv
 
setName(String) - Method in class io.snappydata.test.dunit.SerializableRunnable
 
setTestName(String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
setUp() - Static method in class io.snappydata.test.dunit.DistributedTestBase.InitializeRun
 
setUp() - Method in class io.snappydata.test.dunit.DistributedTestBase
Sets up the test (noop).
shutDownVM(boolean, boolean) - Method in class io.snappydata.test.dunit.standalone.RemoteDUnitVM
 
signalVMReady() - Method in class io.snappydata.test.dunit.standalone.DUnitLauncher.Master
 
signalVMReady() - Method in interface io.snappydata.test.dunit.standalone.DUnitLauncher.MasterRemote
 
skipLogMsgs(String) - Static method in class io.snappydata.test.batterytest.greplogs.ExpectedStrings
 
sleepForMs(int) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Sleep "soundly" for msToSleep milliseconds.
StandAloneDUnitEnv - Class in io.snappydata.test.dunit.standalone
 
StandAloneDUnitEnv(DUnitLauncher.MasterRemote) - Constructor for class io.snappydata.test.dunit.standalone.StandAloneDUnitEnv
 
staticLogString(String) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
staticPause(int) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Use of this function indicates a place in the tests tree where t he use of Thread.sleep() is highly questionable.
stopWaiting() - Method in interface io.snappydata.test.dunit.DistributedTestBase.WaitCriterion2
If this method returns true then quit waiting even if we are not done.
system - Static variable in class io.snappydata.test.dunit.DistributedTestBase
 

T

tearDown() - Method in class io.snappydata.test.dunit.DistributedTestBase
For logPerTest to work, we have to disconnect from the DS, but all subclasses do not call super.tearDown().
tearDown2() - Method in class io.snappydata.test.dunit.DistributedTestBase
Tears down the test.
tearDownAfter() - Method in class io.snappydata.test.dunit.DistributedTestBase
Tears down the test.
TestException - Error in io.snappydata.test.util
 
TestException(Throwable) - Constructor for error io.snappydata.test.util.TestException
 
TestException(String, Throwable) - Constructor for error io.snappydata.test.util.TestException
 
TestException(String) - Constructor for error io.snappydata.test.util.TestException
 
TestException(StringBuffer) - Constructor for error io.snappydata.test.util.TestException
 
testMethod1() - Static method in class io.snappydata.test.hydra.MethExecutor
A small program for testing this class.
testMethod2() - Static method in class io.snappydata.test.hydra.MethExecutor
 
testName - Static variable in class io.snappydata.test.dunit.DistributedTestBase
 
toString() - Method in class io.snappydata.test.dunit.Host
 
toString() - Method in class io.snappydata.test.dunit.SerializableCallable
 
toString() - Method in class io.snappydata.test.dunit.SerializableRunnable
 
toString() - Method in class io.snappydata.test.dunit.VM
 
toString() - Method in class io.snappydata.test.hydra.MethExecutorResult
 
toString() - Method in class io.snappydata.test.memscale.OffHeapChunkInfo
 

V

verifyOffHeapMemoryConsistency(boolean) - Static method in class io.snappydata.test.memscale.OffHeapHelper
Do consistency checks on off-heap memory.
verifyOffHeapMemoryConsistency() - Static method in class io.snappydata.test.memscale.OffHeapHelperVersionHelper
Do consistency checks on off-heap memory.
verifyRegionsEnabledWithOffHeap(List<String>) - Static method in class io.snappydata.test.memscale.OffHeapHelper
Verify that the given list of full region path names have off-heap memory enabled
VM - Class in io.snappydata.test.dunit
This class represents a Java Virtual Machine that runs on a host.
VM(Host, int, RemoteDUnitVMIF) - Constructor for class io.snappydata.test.dunit.VM
Creates a new VM that runs on a given host with a given process id.
VM_NUM_PARAM - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 

W

waitForAsyncEventQueuesToDrain() - Static method in class io.snappydata.test.util.AEQHelper
Wait for all async event queues in this member to drain.
waitForAsyncEventQueuesToDrainOnce() - Static method in class io.snappydata.test.util.AEQHelper
 
waitForBBFlag(String, int, long) - Static method in class io.snappydata.test.dunit.DistributedTestBase
 
waitForCriterion(DistributedTestBase.WaitCriterion, long, long, boolean) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Wait until given criterion is met
waitForVMs(long) - Method in class io.snappydata.test.dunit.standalone.ProcessManager
 
waitForWanQueuesToDrain() - Static method in class io.snappydata.test.memscale.OffHeapHelper
Wait for all async event queues (including wan queues) in this member to drain.
waitMutex(DistributedTestBase.WaitCriterion, Object, long, long, boolean) - Static method in class io.snappydata.test.dunit.DistributedTestBase
Wait on a mutex.
WORKSPACE_DIR_PARAM - Static variable in class io.snappydata.test.dunit.standalone.DUnitLauncher
 
A B C D E F G H I J K L M N O P R S T V W 
Skip navigation links