net.floodlightcontroller.counter
Interface ICounter

All Known Implementing Classes:
SimpleCounter

public interface ICounter

Author:
kyle

Nested Class Summary
static class ICounter.DateSpan
           
 
Method Summary
 java.util.Date getCounterDate()
          Return the most current value
 CounterValue getCounterValue()
          Return the most current value
 void increment()
          Most commonly used method
 void increment(java.util.Date d, long delta)
          Used primarily for flushing thread local updates
 void reset(java.util.Date d)
          Reset the value
 void setCounter(java.util.Date d, CounterValue value)
          Counter value setter
 

Method Detail

increment

void increment()
Most commonly used method


increment

void increment(java.util.Date d,
               long delta)
Used primarily for flushing thread local updates


setCounter

void setCounter(java.util.Date d,
                CounterValue value)
Counter value setter


getCounterDate

java.util.Date getCounterDate()
Return the most current value


getCounterValue

CounterValue getCounterValue()
Return the most current value


reset

void reset(java.util.Date d)
Reset the value