| Package | Description |
|---|---|
| asyncMsg | |
| parReg.tx | |
| tx |
| Modifier and Type | Method and Description |
|---|---|
Operation |
AsyncMsgTest.closeCache()
Closes the cache.
|
Operation |
AsyncMsgTest.createEntry(com.gemstone.gemfire.cache.Region aRegion)
Creates a new key/value in the given region by creating a new
(never-used-before) key and a random value.
|
Operation |
AsyncMsgTest.createRegion()
Creates a region that was previously destroyed.
|
Operation |
AsyncMsgTest.destroyEntry(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
Destroys an entry in aRegion.
|
Operation |
AsyncMsgTest.destroyRegion(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion)
Destroys the given region.
|
Operation |
AsyncMsgTest.getEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key,
String opName)
Does a get with the given key.
|
Operation |
AsyncMsgTest.getEntryWithExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
AsyncMsgTest.getEntryWithNewKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
AsyncMsgTest.getEntryWithPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
AsyncMsgTest.invalEntry(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
Invalidates an entry in aRegion.
|
Operation |
AsyncMsgTest.invalRegion(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion)
Invalidates the given region.
|
Operation |
AsyncMsgTest.putEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key,
BaseValueHolder value,
String opName)
Puts a new key/value in the given region.
|
Operation |
AsyncMsgTest.updateEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Updates an existing entry in aRegion.
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
MixedRegionViewTest.createEntry(com.gemstone.gemfire.cache.Region aRegion)
Does a creates for a key.
|
Operation |
MixedRegionViewTest.destroyEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Destroys an entry in aRegion.
|
Operation |
MixedRegionViewTest.getEntryWithNewKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
MixedRegionViewTest.getEntryWithPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
PrViewUtil.getEntryWithPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a random key (local to the tx vm)
that was previously used in the test.
|
Operation |
MixedRegionViewTest.getWithExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
MixedRegionViewTest.invalEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Invalidates an entry in aRegion.
|
Operation |
MixedRegionViewTest.putEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key,
BaseValueHolder value,
String opName)
Puts a new key/value in the given region.
|
Operation |
MixedRegionViewTest.updateEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Updates an existing entry in aRegion.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MixedRegionViewTest.updateKeySet(Operation op)
Update (per region) keySet
Region specific keySets are maintained through each invocation
of doOperations().
|
protected void |
PrViewUtil.updateKeySet(Operation op)
Update (per region) keySet
Region specific keySets are maintained through each invocation
of doOperations().
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
TxUtil.closeCache()
Closes the cache.
|
Operation |
TxUtil.containsKeyExisting(com.gemstone.gemfire.cache.Region aRegion)
Does a containsKey in aRegion with a key existing in aRegion.
|
Operation |
TxUtil.containsValueExisting(com.gemstone.gemfire.cache.Region aRegion)
Does a containsValue in aRegion with a key existing in aRegion.
|
Operation |
TxUtil.containsValueForKeyExisting(com.gemstone.gemfire.cache.Region aRegion)
Does a containsValueForKey in aRegion with a key existing in aRegion.
|
Operation |
TxUtilKeyRange.createEntry(com.gemstone.gemfire.cache.Region aRegion,
boolean exists)
Creates a new key/value in the given region by creating a new
key within the range and a random value.
|
Operation |
TxUtil.createEntry(com.gemstone.gemfire.cache.Region aRegion,
boolean exists)
Does a creates for a key.
|
Operation |
TxUtil.createRegion()
Creates a region that was previously destroyed.
|
Operation |
TxUtil.destroyEntry(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean entryNotFoundExcOK)
Destroys an entry in aRegion.
|
Operation |
TxUtil.destroyRegion(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion)
Destroys the given region.
|
protected Operation |
ConflictTest.doOpWithDifferent(OpList opList,
Operation operation)
Execute an operation that does not operation on the same region/key
as any operation in opList.
|
protected Operation |
BridgeConflictTest.doOpWithDifferent(OpList opList,
Operation operation)
Execute an operation that does not operation on the same region/key
as any operation in opList.
|
protected Operation |
ConflictTest.doOpWithSame(Operation operation)
Given an operation, execute an operation that involves that same
key and/or region.
|
protected Operation |
BridgeConflictTest.doOpWithSame(Operation operation)
Given an operation, execute an operation that involves that same
key and/or region.
|
Operation |
CollectionsTest.executeCreateEntry(Operation op)
Creates a new key/value in the given region by creating a new
(never-used-before) key and a random value.
|
Operation |
CollectionsTest.executeCreateRegion(Operation op)
Creates a region that was previously destroyed.
|
Operation |
CollectionsTest.executeDestroyEntry(Operation op)
Destroys an entry in aRegion.
|
Operation |
CollectionsTest.executeDestroyRegion(Operation op)
Destroys the given region.
|
Operation |
CollectionsTest.executeGetEntryWithExistingKey(Operation op)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
CollectionsTest.executeGetEntryWithNewKey(Operation op)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
CollectionsTest.executeGetEntryWithPreviousKey(Operation op)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
CollectionsTest.executeInvalEntry(Operation op)
Invalidates an entry in aRegion.
|
Operation |
CollectionsTest.executeInvalRegion(Operation op)
Invalidates the given region.
|
Operation |
CollectionsTest.executeOperation(Operation operation) |
Operation |
CollectionsTest.executeUpdateEntry(Operation op)
Updates an existing entry in aRegion.
|
Operation |
TxUtil.getAll(com.gemstone.gemfire.cache.Region r) |
Operation |
CollectionsTest.getCreateEntryOp(com.gemstone.gemfire.cache.Region aRegion)
getCreateEntryOp()
|
Operation |
CollectionsTest.getCreateRegionOp()
getCreateRegionOp()
|
Operation |
CollectionsTest.getDestroyEntryOp(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
getDestroyEntryOp()
|
Operation |
CollectionsTest.getDestroyRegionOp(boolean isLocalDestroy,
com.gemstone.gemfire.cache.Region aRegion)
getDestroyRegionOp()
|
Operation |
TxUtil.getEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key,
String opName)
Does a get with the given key.
|
Operation |
TxUtil.getEntryWithExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Does a getEntry in aRegion with a key existing in aRegion.
|
Operation |
TxUtil.getEntryWithNewKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
TxUtil.getEntryWithPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
CollectionsTest.getGetEntryWithExistingKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithExistingKeyOp()
|
Operation |
CollectionsTest.getGetEntryWithNewKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithNewKey()
|
Operation |
CollectionsTest.getGetEntryWithPreviousKeyOp(com.gemstone.gemfire.cache.Region aRegion)
getGetEntryWithPreviousKey()
|
Operation |
CollectionsTest.getInvalEntryOp(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion,
Object key)
getInvalEntryOp()
|
Operation |
CollectionsTest.getInvalRegionOp(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion)
getInvalRegionOp()
|
Operation |
EntryValidator.getOperation() |
Operation |
OpList.getOperation(int i)
Return the operation at the given index.
|
Operation |
CollectionsTest.getUpdateEntryOp(com.gemstone.gemfire.cache.Region aRegion,
Object key)
getUpdateEntryOp()
|
protected Operation |
ConflictTest.getWithAnyKey(com.gemstone.gemfire.cache.Region aRegion)
Do a get with any key (existing, previous or new).
|
protected Operation |
BridgeConflictTest.getWithAnyKey(com.gemstone.gemfire.cache.Region aRegion)
Do a get with any key (existing, previous or new).
|
Operation |
TxUtil.getWithExistingKey(com.gemstone.gemfire.cache.Region aRegion)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
TxUtil.invalEntry(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean entryNotFoundExcOK)
Invalidates an entry in aRegion.
|
Operation |
TxUtil.invalRegion(boolean isLocalInval,
com.gemstone.gemfire.cache.Region aRegion)
Invalidates the given region.
|
Operation |
TxUtil.putEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key,
BaseValueHolder value,
String opName)
Puts a new key/value in the given region.
|
protected Operation |
ConflictTest.putNewOrPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Given a region, create a new entry by randomly choosing either a new
or previously used key.
|
protected Operation |
BridgeConflictTest.putNewOrPreviousKey(com.gemstone.gemfire.cache.Region aRegion)
Given a region, create a new entry by randomly choosing either a new
or previously used key.
|
Operation |
TxUtil.removeEntry(com.gemstone.gemfire.cache.Region aRegion,
boolean exists)
Removes an entry in aRegion.
|
Operation |
TxUtil.updateEntry(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Updates an existing entry in aRegion.
|
| Modifier and Type | Method and Description |
|---|---|
List<Operation> |
TxUtil.putAll(com.gemstone.gemfire.cache.Region r) |
| Modifier and Type | Method and Description |
|---|---|
void |
OpList.add(Operation anOp)
Add an operation to this instance.
|
protected void |
ViewTest.adjustOldValue(Operation op,
OpList opList) |
boolean |
Operation.affectedBy(Operation op) |
boolean |
OpList.contains(Operation anOp)
Support contains on opList
|
protected Operation |
ConflictTest.doOpWithDifferent(OpList opList,
Operation operation)
Execute an operation that does not operation on the same region/key
as any operation in opList.
|
protected Operation |
BridgeConflictTest.doOpWithDifferent(OpList opList,
Operation operation)
Execute an operation that does not operation on the same region/key
as any operation in opList.
|
protected Operation |
ConflictTest.doOpWithSame(Operation operation)
Given an operation, execute an operation that involves that same
key and/or region.
|
protected Operation |
BridgeConflictTest.doOpWithSame(Operation operation)
Given an operation, execute an operation that involves that same
key and/or region.
|
boolean |
Operation.entryOpAffectedBy(Operation op) |
Operation |
CollectionsTest.executeCreateEntry(Operation op)
Creates a new key/value in the given region by creating a new
(never-used-before) key and a random value.
|
Operation |
CollectionsTest.executeCreateRegion(Operation op)
Creates a region that was previously destroyed.
|
Operation |
CollectionsTest.executeDestroyEntry(Operation op)
Destroys an entry in aRegion.
|
Operation |
CollectionsTest.executeDestroyRegion(Operation op)
Destroys the given region.
|
Operation |
CollectionsTest.executeGetEntryWithExistingKey(Operation op)
Gets a value in aRegion with a key existing in aRegion.
|
Operation |
CollectionsTest.executeGetEntryWithNewKey(Operation op)
Gets a value in aRegion with a the next new (never-before_used) key.
|
Operation |
CollectionsTest.executeGetEntryWithPreviousKey(Operation op)
Gets a value in aRegion with a random key that was previously used in the test.
|
Operation |
CollectionsTest.executeInvalEntry(Operation op)
Invalidates an entry in aRegion.
|
Operation |
CollectionsTest.executeInvalRegion(Operation op)
Invalidates the given region.
|
Operation |
CollectionsTest.executeOperation(Operation operation) |
Operation |
CollectionsTest.executeUpdateEntry(Operation op)
Updates an existing entry in aRegion.
|
static RegionValidator |
RegionValidator.getActual(Operation op) |
static EntryValidator |
EntryValidator.getActual(Operation op) |
static RegionValidator |
RegionValidator.getExpected(Operation op,
boolean isVisible) |
static EntryValidator |
EntryValidator.getExpected(Operation op,
boolean isVisible) |
OpList |
OpList.getOpsAffectedBy(Operation operation)
Return a subset of the receiver which contains any operations
that were affected by the given operation.
|
protected boolean |
ConflictTest.op1HasConflict(Operation op1,
Operation op2,
boolean op2InTrans,
StringBuffer logStr)
Assuming that
1) thread1 did op1 (always in a transaction)
2) thread2 did op2
determine if thread1 would have a conflict if it tried to commit first.
|
protected boolean |
BridgeConflictTest.op1HasConflict(Operation op1,
Operation op2,
boolean op2InTrans,
StringBuffer logStr)
Assuming that
1) thread1 did op1 (always in a transaction)
2) thread2 did op2
determine if thread1 would have a conflict if it tried to commit first.
|
protected boolean |
ConflictTest.op2HasConflict(Operation op1,
Operation op2,
StringBuffer logStr)
Assuming that
1) thread1 did op1
2) thread2 did op2
determine if thread2 would have a conflict if it tried to commit,
assuming that thread1 successfully committed first.
|
protected boolean |
BridgeConflictTest.op2HasConflict(Operation op1,
Operation op2,
StringBuffer logStr)
Assuming that
1) thread1 did op1
2) thread2 did op2
determine if thread2 would have a conflict if it tried to commit,
assuming that thread1 successfully committed first.
|
protected boolean |
ConflictTest.opRegionIsPartitioned(Operation op,
String pid)
Given an op (that contains a region), and the pid of a VM (not
necessarily this vm, determine if the region defined in that
vm has dataPolicy partitioned.
|
protected boolean |
ConflictTest.opRegionIsReplicate(Operation op,
String pid)
Given an op (that contains a region), and the pid of a VM (not
necessarily this vm, determine if the region defined in that
vm has dataPolicy replicate.
|
Object |
OpList.set(int index,
Operation op)
Set the operation at the given index to the given operation.
|
void |
EntryValidator.setOperation(Operation op) |
boolean |
Operation.usesSameRegion(Operation anOp)
Returns true if the operation uses the same region as anOp.
|
boolean |
Operation.usesSameRegionAndKey(Operation anOp)
Returns true if the operation uses the same region and key as anOp.
|
| Constructor and Description |
|---|
EntryValidator(Operation op)
noArg constructor
|
EntryValidator(Operation op,
String regionName,
String key,
boolean keyExists,
boolean hasValue,
Object cacheValue)
Constructor to create a EntryValidator
|
RegionValidator(Operation op)
noArg constructor
|
RegionValidator(Operation op,
String regionName,
boolean regionExists,
boolean hasKeys,
boolean hasValues)
Constructor to create a RegionValidator
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.