|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.floodlightcontroller.debugcounter.DebugCounter.CounterImpl
protected class DebugCounter.CounterImpl
Constructor Summary | |
---|---|
DebugCounter.CounterImpl(int counterId)
|
Method Summary | |
---|---|
long |
getCounterValue()
Retrieve the value of the counter from the global counter store |
void |
updateCounterNoFlush()
Increments the counter by 1 thread-locally. |
void |
updateCounterNoFlush(int incr)
Increments the counter thread-locally by the 'incr' specified. |
void |
updateCounterWithFlush()
Increments the counter by 1 thread-locally, and immediately flushes to the global counter storage. |
void |
updateCounterWithFlush(int incr)
Increments the counter thread-locally by the 'incr' specified, and immediately flushes to the global counter storage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugCounter.CounterImpl(int counterId)
Method Detail |
---|
public void updateCounterWithFlush()
IDebugCounter
updateCounterWithFlush
in interface IDebugCounter
public void updateCounterNoFlush()
IDebugCounter
updateCounterNoFlush
in interface IDebugCounter
public void updateCounterWithFlush(int incr)
IDebugCounter
updateCounterWithFlush
in interface IDebugCounter
public void updateCounterNoFlush(int incr)
IDebugCounter
updateCounterNoFlush
in interface IDebugCounter
public long getCounterValue()
IDebugCounter
getCounterValue
in interface IDebugCounter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |