org.opennms.netmgt.rrd
Class QueuingRrdStrategy.ZeroUpdateOperation

java.lang.Object
  extended by org.opennms.netmgt.rrd.QueuingRrdStrategy.UpdateOperation
      extended by org.opennms.netmgt.rrd.QueuingRrdStrategy.ZeroUpdateOperation
Enclosing class:
QueuingRrdStrategy

public class QueuingRrdStrategy.ZeroUpdateOperation
extends QueuingRrdStrategy.UpdateOperation

Represents an update whose value is 0. These operations can be merged together and take up less memory


Method Summary
 int getCount()
           
 long getFirstTimeStamp()
           
 long getInterval()
           
 long getLastTimeStamp()
           
 void mergeUpdates(QueuingRrdStrategy.ZeroUpdateOperation op)
           
 void setCount(int newCount)
           
 void setInterval(long newInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()

setCount

public void setCount(int newCount)

getFirstTimeStamp

public long getFirstTimeStamp()

getLastTimeStamp

public long getLastTimeStamp()

getInterval

public long getInterval()

setInterval

public void setInterval(long newInterval)

mergeUpdates

public void mergeUpdates(QueuingRrdStrategy.ZeroUpdateOperation op)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2009. All Rights Reserved.