public class RBQTasks extends Object
RemoteBlockingQueue.| Constructor and Description |
|---|
RBQTasks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindRBQ()
An INIT task that creates a new
RemoteBlockingQueue
and binds it into Master Controller's RMI Registry. |
static void |
consume()
A hydra TASK that consumes elements from the queue
|
static void |
initialize()
A START task that reads the capacity for the
RemoteBlockingQueue and writes the chosen capacity
to the blackboard so that each VM the creates the
RemoteBlockingQueue can create it with the same
capacity |
static void |
jprobeEntry()
An INIT task that is used to mark the beginning of JProbe
measurements.
|
static void |
jprobeExit()
A CLOSE task that is used to mark the ending of JProbe
measurements.
|
static void |
populate()
A hydra TASK that populates the remote queue
|
static void |
validate()
A hydra ENDTASK that validates values in the blackboard.
|
public static void initialize()
RemoteBlockingQueue and writes the chosen capacity
to the blackboard so that each VM the creates the
RemoteBlockingQueue can create it with the same
capacitypublic static void bindRBQ()
throws RemoteException
RemoteBlockingQueue
and binds it into Master Controller's RMI Registry.RemoteExceptionpublic static void populate()
throws RemoteException,
InterruptedException
RemoteExceptionInterruptedExceptionpublic static void consume()
throws RemoteException,
InterruptedException
RemoteExceptionInterruptedExceptionpublic static void validate()
throws RemoteException
TestException - If the number of poll operations does not equal the
number of offer operations.RemoteExceptionpublic static void jprobeEntry()
public static void jprobeExit()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.