public class ValidateBlackboard extends Blackboard
Blackboard whose shared map mirrors
the region being tested. The keys of the blackboard are the same
as in the region and the values are instances of Value.counterNames, GemFire, RMI| Modifier and Type | Method and Description |
|---|---|
Value |
get(Object key)
Returns the value of the given key in the blackboard
|
static ValidateBlackboard |
getInstance()
Returns the singleton instance of
ValidateBlackboard, creating if it necessary. |
Object |
getRandomKey()
Returns a randomly chosen key from the blackboard
|
boolean |
replace(Object key,
Value expectedValue,
Value newValue)
Atomically replaces the value associated with the given key if
and only if the current value is equal to
currentValue. |
createSharedCounters, createSharedLock, createSharedMap, getCounterNames, getSharedCounter, getSharedCounters, getSharedLock, getSharedMap, print, printSharedCounters, printSharedMappublic static ValidateBlackboard getInstance()
ValidateBlackboard, creating if it necessary.public boolean replace(Object key, Value expectedValue, Value newValue)
currentValue.SharedMap.replace(java.lang.Object, java.lang.Object, java.lang.Object)public Object getRandomKey()
SharedMap.getRandomKey()Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.