Package org.eso.ias.plugin.publisher
Class MonitorPointSender.SenderStats
java.lang.Object
org.eso.ias.plugin.publisher.MonitorPointSender.SenderStats
- Enclosing interface:
- MonitorPointSender
The statistics provided by the sender in the last time interval.
- Author:
- acaproni
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
The number of bytes sent to the core of the IASfinal long
The number of errors publishing monitor point values to the core of the IASfinal long
The number of messages sent to the core of the IAS.final long
The number of monitor point values sent to the core of the IAS.final long
The number of monitor point values submitted to the publisher. -
Constructor Summary
ConstructorDescriptionSenderStats
(long numOfMessagesSent, long numOfMonitorPointValuesSent, long numOfMonitorPointValuesSubmitted, long numOfBytesSent, long numOfErrorsPublishing) Constructor -
Method Summary
-
Field Details
-
numOfMessagesSent
public final long numOfMessagesSentThe number of messages sent to the core of the IAS.If messages are buffered, this number will probably be less then the number of monitor point values sent (
numOfMonitorPointValuesSent
). -
numOfMonitorPointValuesSent
public final long numOfMonitorPointValuesSentThe number of monitor point values sent to the core of the IAS.- See Also:
-
numOfMonitorPointValuesSubmitted
public final long numOfMonitorPointValuesSubmittedThe number of monitor point values submitted to the publisher.The number of monitor points offered to the publisher for sending in
MonitorPointSender.offer(ValueToSend)
To reduce the network traffic and prevent misbehaving plugins from flooding the network, the publisher can send less monitor point values then those submitted (for example sending only the last value between all offered in the throttling interval).- See Also:
-
numOfBytesSent
public final long numOfBytesSentThe number of bytes sent to the core of the IASThis is the total number of bytes, including header informations and so on.
-
numOfErrorsPublishing
public final long numOfErrorsPublishingThe number of errors publishing monitor point values to the core of the IAS
-
-
Constructor Details
-
SenderStats
public SenderStats(long numOfMessagesSent, long numOfMonitorPointValuesSent, long numOfMonitorPointValuesSubmitted, long numOfBytesSent, long numOfErrorsPublishing) Constructor- Parameters:
numOfMessagesSent
- The number of messages sent in the last time intervalnumOfMonitorPointValuesSent
- The number of monitor point values sent in the last time intervalnumOfMonitorPointValuesSubmitted
- : The number of monitor point values submitted in the last time intervalnumOfBytesSent
- The number of bytes sent in the last time intervalnumOfErrorsPublishing
- The number of errors reported while publishing
-