net.sf.jperfprobe
Interface Probe

All Known Implementing Classes:
DefaultProbe

public interface Probe


Method Summary
 void disable()
          Disable the probe.
 void enable()
          Enable the probe.
 long getElapsed()
          Get last elapsed time of this probe.
 String getName()
          Get the name of the probe
 boolean isEnabled()
          Is the probe enabled.
 boolean isRunning()
          Is the probe running (by start).
 void start()
          Start the probe.
 void stop()
          Stop the probe.
 

Method Detail

getName

String getName()
Get the name of the probe

Returns:
name

getElapsed

long getElapsed()
Get last elapsed time of this probe.

Returns:
elapsed time

start

void start()
Start the probe.


stop

void stop()
Stop the probe.


isEnabled

boolean isEnabled()
Is the probe enabled.

Returns:
enabled flag

enable

void enable()
Enable the probe.


disable

void disable()
Disable the probe.


isRunning

boolean isRunning()
Is the probe running (by start).

Returns:
running flag


Copyright © 2004-2011. All Rights Reserved.