com.plumtree.uiinfrastructure.web
Interface IPerfCounterHelper

All Known Implementing Classes:
PerfCounters, PTPerfCounters

public interface IPerfCounterHelper

Interface to allow perf counter implementations to use uiinfrastructure code

Author:
DavidP

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()
           
 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
 

Method Detail

Init

void Init()

IncrementCounter

void IncrementCounter(int counterVal)
Increment the performance counter. If there is an exception, shuts down all future logging for this instance. The passed integer must be of the enum PORTALPAGESPERF_COUNTERS.

Parameters:
counterVal -

DecrementCounter

void DecrementCounter(int counterVal)
Decrement the performance counter. If there is an exception, shuts down all future logging for this instance. The passed integer must be of the enum PORTALPAGESPERF_COUNTERS.

Parameters:
counterVal -

IsInitialized

boolean IsInitialized()
Checks that the perf counter interface is initialized


IsDisabled

boolean IsDisabled()
Checks that the perf counter interface is not disabled This occurs if an exception is thrown


GetSessionCounterID

int GetSessionCounterID()
Gets the integer for the counter for session total


GetOpenSessions

int GetOpenSessions()
Gets the number of open sessions




Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.