public class QueuingTcpOutputStrategy extends Object implements TcpOutputStrategy
The receiver of this strategy is not defined in any way. This is just a fire and forget strategy. There is no way to read data back into opennms.
| Constructor and Description | 
|---|
QueuingTcpOutputStrategy(SimpleTcpOutputStrategy delegate,
                        int queueSize)
Constructor for QueuingTcpOutputStrategy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearOfferStats()  | 
void | 
countOfferStats(boolean goodOffer)  | 
long | 
getBadOffers()  | 
long | 
getGoodOffers()  | 
long | 
getTotalOffers()  | 
void | 
updateData(String path,
          String owner,
          Long timestamp,
          List<Double> dblValues,
          List<String> strValues)
Updates the TCP output stream with the supplied values 
 | 
public QueuingTcpOutputStrategy(SimpleTcpOutputStrategy delegate, int queueSize)
Constructor for QueuingTcpOutputStrategy.
delegate - a org.opennms.netmgt.rrd.tcp.SimpleTcpOutputStrategy object.public void updateData(String path, String owner, Long timestamp, List<Double> dblValues, List<String> strValues) throws Exception
updateData in interface TcpOutputStrategypath - the hierarchy path for the dataowner - the owner of the datadblValues - a list of Double valuesstrValues - a list of String valuesException - if an error occurs updating the filepublic void countOfferStats(boolean goodOffer)
public void clearOfferStats()
public long getTotalOffers()
public long getGoodOffers()
public long getBadOffers()
Copyright © 2021. All rights reserved.