public class NameBB extends Blackboard
| Modifier and Type | Field and Description |
|---|---|
static int |
LISTENER_NAME_COUNTER |
static int |
NEGATIVE_NAME_COUNTER |
static int |
POSITIVE_NAME_COUNTER |
static int |
REGION_NAME_COUNTER |
counterNames, GemFire, RMI| Constructor and Description |
|---|
NameBB()
Zero-arg constructor for remote method invocations.
|
NameBB(String name,
String type)
Creates a sample blackboard using the specified name and transport type.
|
| Modifier and Type | Method and Description |
|---|---|
long |
decrementAndRead(int whichCounter) |
static NameBB |
getBB()
Get the NameBB
|
long |
incrementAndRead(int whichCounter) |
long |
read(int whichCounter) |
void |
zero(String counterName,
int whichCounter)
Sets the value count with the given name to zero.
|
createSharedCounters, createSharedLock, createSharedMap, getCounterNames, getSharedCounter, getSharedCounters, getSharedLock, getSharedMap, print, printSharedCounters, printSharedMappublic static int POSITIVE_NAME_COUNTER
public static int NEGATIVE_NAME_COUNTER
public static int REGION_NAME_COUNTER
public static int LISTENER_NAME_COUNTER
public long incrementAndRead(int whichCounter)
public long decrementAndRead(int whichCounter)
public void zero(String counterName, int whichCounter)
public long read(int whichCounter)
public static NameBB getBB()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.