public static class BatchModeRequestHandler.RequestStatCollector extends Object implements StatCollector<BatchModeRequestHandler>
| Constructor and Description |
|---|
BatchModeRequestHandler.RequestStatCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(BatchModeRequestHandler obj)
Collect the statistic in a batch mode request handler.
|
void |
incrNumOfConfirmedAnotherRequest()
Increase the number of confirmed another request.
|
void |
incrNumOfLateRequest()
Increase the number of late request.
|
void |
incrNumOfQueuedRequest()
Increase the number of queued request.
|
void |
incrTotalNumOfRequest()
Increase the total number of request.
|
void |
print(PrintStream outfile)
Print the statistic.
|
public BatchModeRequestHandler.RequestStatCollector()
public void incrTotalNumOfRequest()
public void incrNumOfConfirmedAnotherRequest()
public void incrNumOfLateRequest()
public void incrNumOfQueuedRequest()
public void collect(BatchModeRequestHandler obj)
collect in interface StatCollector<BatchModeRequestHandler>obj - the batch mode request handlerpublic void print(PrintStream outfile)
print in interface StatCollector<BatchModeRequestHandler>outfile - the output streamCopyright © 2013. All rights reserved.