|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.benchmark.GaugeSubscriber
public class GaugeSubscriber
This class represents the subscribers of the benchmark suite. This benchmark client can also behave as a measuring subscriber responsible for computing latencies, standard deviations, system throughputs etc.
| Constructor Summary | |
|---|---|
GaugeSubscriber(int subscriber)
|
|
| Method Summary | |
|---|---|
void |
gatherStatsForMessages(int numMessages)
|
static void |
main(String[] args)
|
void |
oldOnEvent(NBEvent nbEvent)
The message that would be invoked by the underlying system |
void |
oldReportStatistics()
|
void |
onEvent(NBEvent nbEvent)
The message that would be invoked by the underlying system |
void |
onRecovery(NBRecoveryNotification recoveryNotification)
Upon completion of the attempt to recover, this method is invoked on the listener that was registered with the |
void |
printToConsole(boolean printInfo)
|
void |
reportStatistics(int messagesInCurrentSet)
|
void |
setAsMeasuringClient(String fileName,
int _numOfMessages,
int[] messageSizes,
int maxRejects)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GaugeSubscriber(int subscriber)
| Method Detail |
|---|
public void setAsMeasuringClient(String fileName,
int _numOfMessages,
int[] messageSizes,
int maxRejects)
public void printToConsole(boolean printInfo)
public void gatherStatsForMessages(int numMessages)
public void onEvent(NBEvent nbEvent)
onEvent in interface NBEventListenerpublic void reportStatistics(int messagesInCurrentSet)
public void oldOnEvent(NBEvent nbEvent)
public void onRecovery(NBRecoveryNotification recoveryNotification)
onRecovery in interface NBRecoveryListenerpublic void oldReportStatistics()
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||