public class TxBB extends Blackboard
counterNames, GemFire, RMI| Constructor and Description |
|---|
TxBB()
Zero-arg constructor for remote method invocations.
|
TxBB(String name,
String type)
Creates a sample blackboard using the specified name and transport type.
|
| Modifier and Type | Method and Description |
|---|---|
static TxBB |
getBB()
Get the instance of TxBB
|
static boolean |
getCommitStatus()
Return the expected commit success/failure for the current thread.
|
static OpList |
getOpList()
Convenience method for reading the list of operations for the current
client thread.
|
static String |
getOpListKey()
Convenience method for obtaining the key created for the opList
serial tests may put this key on the BB for other threads to use
for opList access
|
static String |
getUpdateStrategy()
Get the update strategy.
|
static void |
inc(int whichCounter)
Increment the given counter
|
static void |
putOpList(OpList opList)
Convenience method for writing a list of operations for the current
client thread.
|
static void |
recordCommitStatus(boolean expectCommitStatus)
Write to the blackboard the expected commit success/failure
for the current thread.
|
void |
zeroEventCounters()
Clear the event counters (associated with number of operations performed
|
createSharedCounters, createSharedLock, createSharedMap, getCounterNames, getSharedCounter, getSharedCounters, getSharedLock, getSharedMap, print, printSharedCounters, printSharedMappublic static int RoundRobinNumber
public static int ExecutionNumber
public static int TX_NUMBER
public static int PROCESS_EVENTS
public static int TX_IN_PROGRESS
public static int TX_READY_FOR_VALIDATION
public static int TX_COMPLETED
public static int TX_SUCCESS
public static int TX_FAILURE
public static int TX_ROLLBACK
public static int NOT_IN_TRANS
public static int NUM_EXPECTED_FAILED_COMMIT
public static int NUM_EXPECTED_ROLLBACK
public static int UniqueKeyCounter
public static int nextRepeatableRead
public static String TxWriterAction
public static String COMPLETION_ACTION
public static String TXACTION_COMMIT
public static String TXACTION_ROLLBACK
public static String TXACTION_ABORT
public static String TXACTION_NONE
public static String RoundRobinStartThread
public static String OpListKey
public static String OpListKey2
public static String CommitStatusKey
public static String DestroyedRegionsKey
public static String FirstInRoundCommitStatus
public static String SecondInRoundCommitStatus
public static String TX_OPLIST_KEY
public static String TX_VM_PID
public static String TX_VM_CLIENTNAME
public static String NON_TX_OPLIST
public static String LocalListenerOpListPrefix
public static String RemoteListenerOpListPrefix
public static String UpdateStrategy
public static String CommitStateTrigger
public static String RegConfigForPIDBaseKey
public static String RegConfigForPIDKey
public static String RepeatableRead
public static String DataPolicyPrefix
public static final String keySet
public static final String delegate
public static final String nonDelegateServer
public static final String timeToStop
public static final String afterCommitProcessed
public static final String VMOTION_TRIGGERED
public static final String VMOTION_TRIGGERED_TIME
public static int LOCAL_CREATE
public static int LOCAL_CREATE_ISLOAD
public static int LOCAL_UPDATE
public static int LOCAL_UPDATE_ISLOAD
public static int LOCAL_DESTROY
public static int LOCAL_INVALIDATE
public static int LOCAL_LOCAL_DESTROY
public static int LOCAL_LOCAL_INVALIDATE
public static int REMOTE_CREATE
public static int REMOTE_CREATE_ISLOAD
public static int REMOTE_UPDATE
public static int REMOTE_UPDATE_ISLOAD
public static int REMOTE_DESTROY
public static int REMOTE_INVALIDATE
public static int REMOTE_LOCAL_DESTROY
public static int REMOTE_LOCAL_INVALIDATE
public static int CONFLATED_CREATE_DESTROY
public static int CREATE_IN_DESTROYED_REGION
public static int CREATE_IN_DESTROYED_REGION_ISLOAD
public static String getUpdateStrategy()
public static void putOpList(OpList opList)
public static OpList getOpList()
public static String getOpListKey()
public static void recordCommitStatus(boolean expectCommitStatus)
expectCommitStatus - True if we expect the current thread
to successfully commit, false otherwise.public static boolean getCommitStatus()
public static void inc(int whichCounter)
public void zeroEventCounters()
public static TxBB getBB()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.