public class DiskBB extends Blackboard
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_GET |
static int |
NUM_PUT |
static int |
VmReinitializedCounter |
static int |
VmRestartedCounter |
counterNames, GemFire, RMI| Constructor and Description |
|---|
DiskBB()
Zero-arg constructor for remote method invocations.
|
DiskBB(String name,
String type)
Creates a sample blackboard using the specified name and transport type.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
add(String counterName,
int counter,
int amountToAdd)
Adds a given amount to the value of a given counter
|
static DiskBB |
getBB()
Get the DiskBB
|
static long |
incrementCounter(String counterName,
int counter)
Increments the counter with the given name
|
static void |
zero(String counterName,
int counter)
Sets the value count with the given name to zero.
|
createSharedCounters, createSharedLock, createSharedMap, getCounterNames, getSharedCounter, getSharedCounters, getSharedLock, getSharedMap, print, printSharedCounters, printSharedMappublic static int NUM_PUT
public static int NUM_GET
public static int VmRestartedCounter
public static int VmReinitializedCounter
public static DiskBB getBB()
public static void zero(String counterName, int counter)
public static long incrementCounter(String counterName, int counter)
public static long add(String counterName, int counter, int amountToAdd)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.