com.latencybusters.lbm.LBMMonitorReceiver.LBMMonitorReceiver |
( |
int |
formatter, |
|
|
String |
formatOpts, |
|
|
int |
transport, |
|
|
String |
transportOpts |
|
) |
| throws LBMException |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller. On some JVMs this object may be garbage collected prematurely if it is not referenced after creation; therefore, it may be prudent to explicitly call its close method at a point in the program logic where it would no longer be required.
- See also
- close
- Parameters
-
formatter | Format module type |
formatOpts | A block of data which is passed to the format module's initialization function. This may be used to pass configuration options to the format module. ` |
transport | Transport module type |
transportOpts | A block of data which is passed to the transport module's initialization function. This may be used to pass configuration options to the transport module. |
- Exceptions
-
LBMException | if any error occurs creating the monitor receiver. |
com.latencybusters.lbm.LBMMonitorReceiver.LBMMonitorReceiver |
( |
int |
formatter, |
|
|
String |
formatOpts, |
|
|
int |
transport, |
|
|
String |
transportOpts, |
|
|
LBMObjectRecyclerBase |
recycler, |
|
|
Object |
objRecCbArg |
|
) |
| throws LBMException |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller. On some JVMs this object may be garbage collected prematurely if it is not referenced after creation; therefore, it may be prudent to explicitly call its close method at a point in the program logic where it would no longer be required.
- See also
- close
- Parameters
-
formatter | Format module type |
formatOpts | A block of data which is passed to the format module's initialization function. This may be used to pass configuration options to the format module. ` |
transport | Transport module type |
transportOpts | A block of data which is passed to the transport module's initialization function. This may be used to pass configuration options to the transport module. |
recycler | an object recycler to handle recycling stats objects. Only the last callback should call the doneWith* method to return the stat object back to the recycler. |
objRecCbArg | a callback object token that will be passed to the recycler (normally null is used) |
- Exceptions
-
LBMException | if any error occurs creating the monitor receiver. |
Register statistics callbacks.
- Parameters
-
void com.latencybusters.lbm.LBMMonitorReceiver.close |
( |
| ) |
throws LBMException |
void com.latencybusters.lbm.LBMMonitorReceiver.finalize |
( |
| ) |
throws LBMException |
|
protected |
long com.latencybusters.lbm.LBMMonitorReceiver.getSourceType |
( |
ByteBuffer |
attributes | ) |
throws LBMException |
Get the type of source associated with this statistics packet.
- Parameters
-
attributes | A block of data which contains the attributes for the statistics packet. |
- Returns
- Value indicating whether the source is normal or IM
- Exceptions
-
The documentation for this class was generated from the following file: