| Package | Description |
|---|---|
| asyncMsg | |
| dynamicReg | |
| parReg.tx | |
| resumeTx | |
| tx |
| Modifier and Type | Method and Description |
|---|---|
OpList |
AsyncMsgTest.doOperations()
Do random operations on random regions using the hydra parameter
AsyncMsgPrms.operations as the list of available operations and
AsyncMsgPrms.numOps as the number of operations to do.
|
OpList |
AsyncMsgTest.doOperations(Vector operations,
int numOperationsToDo)
Do random operations on random regions.
|
static OpList |
AsyncMsgBB.getOpList()
Convenience method for reading the list of operations for the current
client thread.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AsyncMsgBB.putOpList(OpList opList)
Convenience method for writing a list of operations for the current
client thread.
|
| Modifier and Type | Method and Description |
|---|---|
static OpList |
DynamicRegionBB.getOpList()
Convenience method for reading the list of operations for the current
client thread.
|
static OpList |
DynamicRegionBB.getSingleOpList()
Convenience method for reading the list of operations
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DynamicRegionBB.putOpList(OpList opList)
Convenience method for writing a list of operations for the current
client thread.
|
static void |
DynamicRegionBB.putSingleOpList(OpList opList)
Convenience method for writing a list of operations
|
| Modifier and Type | Method and Description |
|---|---|
static OpList |
MixedRegionViewTest.doOperations()
Do random operations on random regions using the hydra parameter
TxPrms.operations as the list of available operations and
TxPrms.numOps as the number of operations to do.
|
static OpList |
MixedRegionViewTest.doOperations(boolean allowGetOperations)
Do random operations on random regions using the hydra parameter
TxPrms.operations as the list of available operations and
TxPrms.numOps as the number of operations to do.
|
static OpList |
PrViewUtil.doOperations(boolean allowGetOperations)
Do random operations on random regions using the hydra parameter
TxPrms.operations as the list of available operations and
TxPrms.numOps - the number of operations to execute in a single tx
|
OpList |
MixedRegionViewTest.doOperations(Vector operations,
int numOperationsToDo)
Do random operations on random regions.
|
OpList |
MixedRegionViewTest.doOperations(Vector operations,
int numOperationsToDo,
boolean allowGetOperations)
Do random operations on random regions.
|
OpList |
PrViewUtil.doOperations(Vector operations,
int numOperationsToDo,
boolean allowGetOperations)
Do random operations on random regions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MixedRegionViewTest.incrementEventCounters(OpList txOpList,
int counterType) |
protected void |
MixedRegionViewTest.validateState(OpList opList,
boolean isVisible) |
protected void |
MixedRegionViewTest.validateState(OpList opList,
boolean isVisible,
String txAction) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ResumeTxBB.updateOpList(OpList newList)
Update BB OpList with the given OpList (for serial tests only)
|
| Modifier and Type | Method and Description |
|---|---|
OpList |
OpList.collapse() |
OpList |
OpList.collapse(String txAction)
Collapse the opList for the specific conditions.
|
OpList |
OpList.collapseForEvents(String txAction)
a slight variation of the collapse() for TxListener event handling
|
OpList |
TxUtil.doNonrepeatableReadOperations(int numOperationsToDo)
Do random non-repeatable read operations on random regions.
|
static OpList |
TxUtil.doOperations()
Do random operations on random regions using the hydra parameter
TxPrms.operations as the list of available operations and
TxPrms.numOps as the number of operations to do.
|
static OpList |
TxUtil.doOperations(boolean allowGetOperations)
Do random operations on random regions using the hydra parameter
TxPrms.operations as the list of available operations and
TxPrms.numOps as the number of operations to do.
|
OpList |
TxUtil.doOperations(Vector operations,
int numOperationsToDo)
Do random operations on random regions.
|
OpList |
TxUtil.doOperations(Vector operations,
int numOperationsToDo,
boolean allowGetOperations)
Do random operations on random regions.
|
protected OpList |
ConflictTest.doOps(OpList opList,
int numOps,
boolean targetSame)
Method that will execute operation(s) that either intentionaly write
or not write to regions and/or keys in opList.
|
protected OpList |
BridgeConflictTest.doOps(OpList opList,
int numOps,
boolean targetSame)
Method that will execute operation(s) that either intentionaly write
or not write to regions and/or keys in opList.
|
OpList |
TxUtil.doRepeatableReadOperations(int numOperationsToDo)
Do random repeatable read operations on random regions.
|
OpList |
OpList.getEntriesWithUniqueKeys(OpList entryOps) |
OpList |
OpList.getEntriesWithUniqueKeys(OpList entryOps,
String txAction) |
OpList |
OpList.getEntryOps()
Return an OpList containing only entry operations in the receiver.
|
static OpList |
TxBB.getOpList()
Convenience method for reading the list of operations for the current
client thread.
|
OpList |
OpList.getOps(String opName)
Return a subset of the receiver containing operations which
match the given opName.
|
OpList |
OpList.getOpsAffectedBy(Operation operation)
Return a subset of the receiver which contains any operations
that were affected by the given operation.
|
OpList |
OpList.getOpsForKey(String key)
Return a subset of the receiver which contains any operations
that occurred on the given key.
|
OpList |
OpList.getOpsForRegion(String regionName)
Return a subset of the receiver which contains any operations
that occurred on the given region.
|
OpList |
OpList.getOpsForRegionAndKey(String regionName,
Object key)
Return a subset of the receiver which contains any operations
that occurred on the given key in the given region.
|
OpList |
OpList.handleDoubleInvalidates(OpList entryOps) |
OpList |
OpList.removeNoOpGets(OpList entryOps) |
| Modifier and Type | Method and Description |
|---|---|
void |
OpList.addAll(OpList toBeAdded)
Add all operations in given opList to the receiver.
|
void |
OpList.addAll(OpList toBeAdded,
boolean allowDuplicates)
Add all operations in the given opList to the receiver (allow duplicates)
|
protected void |
ViewTest.adjustOldValue(Operation op,
OpList opList) |
protected void |
PrTxListener.checkEventOrder(OpList entryOpList,
OpList eventOpList)
Compares originalOpList generated by executing commands and saved
to the BB against an event list re-generated from events arriving
at either the CacheListener or TransactionListener.
|
protected void |
TxWriter.checkEventOrder(OpList entryOpList,
OpList eventOpList)
Compares originalOpList generated by executing commands and saved
to the BB against an event list re-generated from events arriving
at the TransactionWriter.
|
protected void |
TxListener.checkEventOrder(OpList entryOpList,
OpList eventOpList)
Compares originalOpList generated by executing commands and saved
to the BB against an event list re-generated from events arriving
at either the CacheListener or TransactionListener.
|
protected void |
ConflictTest.checkTxSet(OpList ops)
Check that the current value of the tx set for this thread (the set of
keys that have been read or written during this tx) matches the set of
keys specified in the oplist.
|
protected void |
BridgeConflictTest.checkTxSet(OpList ops)
Check that the current value of the tx set for this thread (the set of
keys that have been read or written during this tx) matches the set of
keys specified in the oplist.
|
protected OpList |
ConflictTest.doOps(OpList opList,
int numOps,
boolean targetSame)
Method that will execute operation(s) that either intentionaly write
or not write to regions and/or keys in opList.
|
protected OpList |
BridgeConflictTest.doOps(OpList opList,
int numOps,
boolean targetSame)
Method that will execute operation(s) that either intentionaly write
or not write to regions and/or keys in 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 boolean |
ConflictTest.entryOpConflictsWith(OpList opList,
String regionName,
Object key)
Determine if an entry operation with the given region and key will conflict
with any operation in the operation list.
|
protected boolean |
BridgeConflictTest.entryOpConflictsWith(OpList opList,
String regionName,
Object key)
Determine if an entry operation with the given region and key will conflict
with any operation in the operation list.
|
protected boolean |
ConflictTest.getCommitStatusRR(OpList readOps,
OpList t1_ops,
OpList newOps,
boolean readOpsContainsRR)
This writes expected commit status to the blackboard for tests that
are testing repeatable read transactions.
|
protected boolean |
BridgeConflictTest.getCommitStatusRR(OpList readOps,
OpList t1_ops,
OpList newOps,
boolean readOpsContainsRR)
This writes expected commit status to the blackboard for tests that
are testing repeatable read transactions.
|
OpList |
OpList.getEntriesWithUniqueKeys(OpList entryOps) |
OpList |
OpList.getEntriesWithUniqueKeys(OpList entryOps,
String txAction) |
OpList |
OpList.handleDoubleInvalidates(OpList entryOps) |
void |
ViewTest.incrementEventCounters(OpList txOpList,
int counterType) |
static void |
TxBB.putOpList(OpList opList)
Convenience method for writing a list of operations for the current
client thread.
|
protected void |
ConflictTest.recordCommitStatus(boolean inTrans,
OpList priorOps,
OpList newOps)
This writes expected commit status to the blackboard for tests that
run either in or out of a transaction, and use both transactional and
non-transactional operations.
|
protected void |
BridgeConflictTest.recordCommitStatus(boolean inTrans,
OpList priorOps,
OpList newOps)
This writes expected commit status to the blackboard for tests that
run either in or out of a transaction, and use both transactional and
non-transactional operations.
|
protected boolean |
ConflictTest.recordCommitStatusTxOnly(OpList priorOps,
OpList newOps)
This writes expected commit status to the blackboard for tests that
run only in transactions and use only transactional (can be rolled back)
operations.
|
protected boolean |
BridgeConflictTest.recordCommitStatusTxOnly(OpList priorOps,
OpList newOps)
This writes expected commit status to the blackboard for tests that
run only in transactions and use only transactional (can be rolled back)
operations.
|
protected void |
ConflictTest.recordNewOps(OpList priorOps,
OpList newOps)
Given a list of prior ops (done in previous and guaranteed to commit tx)
and a list of ops done in the current transactions, determine if the
new ops override any previous ops (in a last-one-wins fashion), and
modify the priorOps with either replacing a priorOp with a new op
or just adding the new op.
|
protected void |
BridgeConflictTest.recordNewOps(OpList priorOps,
OpList newOps)
Given a list of prior ops (done in previous and guaranteed to commit tx)
and a list of ops done in the current transactions, determine if the
new ops override any previous ops (in a last-one-wins fashion), and
modify the priorOps with either replacing a priorOp with a new op
or just adding the new op.
|
OpList |
OpList.removeNoOpGets(OpList entryOps) |
protected boolean |
ConflictTest.thread1HasConflict(OpList opList1,
OpList opList2,
boolean inTrans)
Assuming that
1) thread1 did the operations in opList1 (always in a transaction)
2) thread2 did the operations in opList2
determine if thread1 would have a conflict if it tried to commit first.
|
protected boolean |
BridgeConflictTest.thread1HasConflict(OpList opList1,
OpList opList2,
boolean inTrans)
Assuming that
1) thread1 did the operations in opList1 (always in a transaction)
2) thread2 did the operations in opList2
determine if thread1 would have a conflict if it tried to commit first.
|
protected boolean |
ConflictTest.thread2HasConflict(OpList opList1,
OpList opList2)
Assuming that
1) thread1 did the operations in opList1 (always in a transaction)
2) thread2 did the operations in opList2 and is in a transaction
determine if thread2 would have a conflict if it tried to commit,
assuming that thread1 successfully committed first.
|
protected boolean |
BridgeConflictTest.thread2HasConflict(OpList opList1,
OpList opList2)
Assuming that
1) thread1 did the operations in opList1 (always in a transaction)
2) thread2 did the operations in opList2 and is in a transaction
determine if thread2 would have a conflict if it tried to commit,
assuming that thread1 successfully committed first.
|
protected void |
ViewTest.validateState(OpList opList,
boolean isVisible) |
protected void |
ViewTest.validateState(OpList opList,
boolean isVisible,
String txAction) |
protected void |
ConflictTest.verifyRepeatableReads(OpList readOps,
OpList t1_ops,
OpList newOps,
boolean readOpsContainsRR)
Determines if reads see the correct value.
|
protected void |
BridgeConflictTest.verifyRepeatableReads(OpList readOps,
OpList t1_ops,
OpList newOps,
boolean readOpsContainsRR)
Determines if reads see the correct value.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.