public class CQUtilBB extends Blackboard
counterNames, GemFire, RMI| Constructor and Description |
|---|
CQUtilBB()
Zero-arg constructor for remote method invocations.
|
CQUtilBB(String name,
String type)
Creates a sample blackboard using the specified name and transport type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedOp(Object sharedMapKey,
Object keyToAdd)
Add the key to the failedTxOps or inDoubtTxOps Sets in the shared map
|
static CQUtilBB |
getBB()
Creates a singleton instance of the BB
|
Set |
getFailedOps(Object sharedMapKey)
return the failedTxOps or inDoubtTxOps
|
static Map |
getSnapshot()
Get a region snapshot from the blackboard.
|
static long |
incrementCounter(String counterName,
int counter)
Increments the counter with the given name
|
static void |
printBB()
Display the CQUtilBB Counters
|
static void |
putSnapshot(Map snapshot)
Put a region snapshot into the blackboard.
|
createSharedCounters, createSharedLock, createSharedMap, getCounterNames, getSharedCounter, getSharedCounters, getSharedLock, getSharedMap, print, printSharedCounters, printSharedMappublic static int NUM_CREATE
public static int NUM_UPDATE
public static int NUM_DESTROY
public static int NUM_INVALIDATE
public static int NUM_REGION_DESTROY
public static int NUM_REGION_INVALIDATE
public static int NUM_REGION_CLEAR
public static int NUM_REGION_CREATE
public static int NUM_CLOSE
public static int NUM_CLEARREGION
public static int NUM_INVALIDATEREGION
public static int NUM_ERRORS
public static int MISSING_UPDATES
public static int LATE_UPDATES
public static int NUM_LOCAL_LOAD_CREATE
public static int NUM_EVICT_DESTROY
public static int expectedCQCreates
public static int expectedCQDestroys
public static int expectedCQUpdates
public static int NUM_RI_VMS
public static int NUM_CQS
public static int ExecutionNumber
public static int RoundPosition
public static int RoundNumber
public static int ConcurrentLeader
public static int ReadyToBegin
public static int Pausing
public static int FinishedVerify
public static int SnapshotWritten
public static int ExceptionCounter
public static int Reinitialized
public static int TimeToStop
public static int SyncUp
public static int QueryNumber
public static int EntryPerformed
public static int Verified
public static int NumCounterToDestroy
public static final String RegionSnapshot
public static final String DestroyedKeys
public static final String VerifyFlag
public static final String EntryDone
public static final String VerifyDone
public static final String PerformedDestroyRegion
public static final String PerformedInvalidateRegion
public static final String Scope
public static String KeyIntervals
public static String FAILED_TXOPS
public static String INDOUBT_TXOPS
public static int LASTKEY_INVALIDATE
public static int LASTKEY_LOCAL_INVALIDATE
public static int LASTKEY_DESTROY
public static int LASTKEY_LOCAL_DESTROY
public static int LASTKEY_UPDATE_EXISTING_KEY
public static int LASTKEY_GET
public static int SHOULD_ADD_COUNT
public static int NUM_NEW_KEYS_CREATED
public static int NUM_ORIGINAL_KEYS_CREATED
public static int lastEventTime
public static CQUtilBB getBB()
public static void printBB()
public static void putSnapshot(Map snapshot)
snapshot - The snapshot to write to the blackboard; this might contain
PdxSerializables.public static Map getSnapshot()
public void addFailedOp(Object sharedMapKey, Object keyToAdd)
public static long incrementCounter(String counterName, int counter)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.