|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.web.PerfCounters
public final class PerfCounters
Performance counter core, calls derived perf counters set at init
Field Summary | |
---|---|
static PerfCounters |
INSTANCE
Use this class static to access the one and only instance of LoginHelper. |
Constructor Summary | |
---|---|
PerfCounters()
|
Method Summary | |
---|---|
void |
DecrementCounter(int counterVal)
Decrement the performance counter. |
int |
GetOpenSessions()
Gets the number of open sessions |
int |
GetSessionCounterID()
Gets the integer for the counter for session total |
void |
IncrementCounter(int counterVal)
Increment the performance counter. |
void |
Init()
Used only by the derived class |
boolean |
IsDisabled()
Checks that the perf counter interface is not disabled This occurs if an exception is thrown |
boolean |
IsInitialized()
Checks that the perf counter interface is initialized |
static void |
StaticInit(IPerfCounterHelper perfCounter)
Static initialization method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PerfCounters INSTANCE
Constructor Detail |
---|
public PerfCounters()
Method Detail |
---|
public static final void StaticInit(IPerfCounterHelper perfCounter)
IPerfCounterHelper
- custom perf counter codepublic void Init()
Init
in interface IPerfCounterHelper
public void IncrementCounter(int counterVal)
IncrementCounter
in interface IPerfCounterHelper
counterVal
- public void DecrementCounter(int counterVal)
DecrementCounter
in interface IPerfCounterHelper
counterVal
- public boolean IsInitialized()
IsInitialized
in interface IPerfCounterHelper
public boolean IsDisabled()
IsDisabled
in interface IPerfCounterHelper
public int GetSessionCounterID()
GetSessionCounterID
in interface IPerfCounterHelper
public int GetOpenSessions()
GetOpenSessions
in interface IPerfCounterHelper
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |