A B C D E F G H I M N P R S T U W

A

AbstractGauge - class net.sf.sensor.gauge.AbstractGauge.
Abstract helper implementation of the Gauge interface that supplies two extra ways of associating a Gauge implementation with a GaugeRuntime.
AbstractGauge() - Constructor for class net.sf.sensor.gauge.AbstractGauge
Default constructor that allows for construction of standard Gauges that will get added to a GaugeRuntime through its add/set methods.
AbstractGauge(GaugeRuntime) - Constructor for class net.sf.sensor.gauge.AbstractGauge
Constructor that self-registers the resulting Gauge instance with the specified GaugeRuntime.
acceptStatistics(SensorStatistics) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Method that checks whether a single instance of SensorStatistics matches all currently activated filter criteria.
addGauge(Gauge) - Method in class net.sf.sensor.gauge.GaugeRuntime
Register a new Gauge with the runtime using its own label as the key.
addLabel(String) - Method in class net.sf.sensor.timer.Timer
Adds the specified label to the set of labels associated with this instance.

B

BUSINESS_LOGIC - Static variable in class net.sf.sensor.SensorLabels
Sensor label indicating that a sensor is associated with business logic.

C

CONTAINS - Static variable in class net.sf.sensor.filter.PropertyValueMatcher
 
Counter - class net.sf.sensor.counter.Counter.
Implements a simple labeled counter that supports incrementing and decrementing operations.
Counter(String) - Constructor for class net.sf.sensor.counter.Counter
Constructor that sets the label that identifies one instance of Counter from another.
CounterRuntime - class net.sf.sensor.counter.CounterRuntime.
Main entry point for working with Counters.
CounterRuntime() - Constructor for class net.sf.sensor.counter.CounterRuntime
 

D

DEFAULT_ROOT_TIMER_LABEL - Static variable in class net.sf.sensor.timer.TimerRuntime
 
decrement() - Method in class net.sf.sensor.counter.Counter
Decrements this counter by one if the current value is greater than zero.

E

ENDS_WITH - Static variable in class net.sf.sensor.filter.PropertyValueMatcher
 
EXACT_MATCH - Static variable in class net.sf.sensor.filter.PropertyValueMatcher
 

F

FreeHeapMemoryGauge - class net.sf.sensor.gauge.support.FreeHeapMemoryGauge.
Simple implementation of Gauge that reports the current amount of free (unallocated) heap memory (in bytes).
FreeHeapMemoryGauge() - Constructor for class net.sf.sensor.gauge.support.FreeHeapMemoryGauge
 
FreeHeapMemoryGauge(GaugeRuntime) - Constructor for class net.sf.sensor.gauge.support.FreeHeapMemoryGauge
 
filter(List) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Returns a new read-only filtered List<SensorStatistics> that only contains the elements from the specified List<SensorStatistics> that match all currently activated filter criteria.

G

Gauge - interface net.sf.sensor.gauge.Gauge.
Simple sensor that keeps track of the current value of a single long property.
GaugeRuntime - class net.sf.sensor.gauge.GaugeRuntime.
Main entry point for working with gauges, which are simple sensors that measure the value of a single numeric property.
GaugeRuntime() - Constructor for class net.sf.sensor.gauge.GaugeRuntime
 
getAverageTime() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the average time (in milliseconds) measured until the last call to refresh().
getAverageValue() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the averageValue.
getChildren() - Method in class net.sf.sensor.timer.TimerStatistics
 
getCounter(String) - Method in class net.sf.sensor.counter.CounterRuntime
Retrieves the Counter that matches the specified label.
getCounterRuntime() - Static method in class net.sf.sensor.StaticSensorRuntime
Returns the static CounterRuntime instance maintained by this class.
getCounters() - Method in class net.sf.sensor.counter.CounterRuntime
Returns a List<Counter> of all active counters.
getCurrentValue() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the currentValue.
getDescription() - Method in class net.sf.sensor.filter.PropertyValueMatcher
TODO Internationalize PropertyValueMatcher descriptions using a resourcebundle
getGauge(String) - Method in class net.sf.sensor.gauge.GaugeRuntime
Retrieves the Gauge matching the specified label.
getGaugeRuntime() - Static method in class net.sf.sensor.StaticSensorRuntime
Returns the static GaugeRuntime instance maintained by this class.
getGauges() - Method in class net.sf.sensor.gauge.GaugeRuntime
Returns a List<Gauge> of all registered gauges.
getId() - Method in interface net.sf.sensor.SensorStatistics
Returns the string that uniquely identifies one instance of SensorStatistics.
getId() - Method in class net.sf.sensor.timer.Timer
Returns the id straight from the nested TimerData.
getId() - Method in class net.sf.sensor.timer.TimerStatistics
 
getIdExpression() - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Returns the idExpression.
getIdMatcher() - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Returns the idMatcher.
getLabel() - Method in class net.sf.sensor.counter.Counter
Returns the label.
getLabel() - Method in interface net.sf.sensor.gauge.Gauge
Returns the label that identifies this instance.
getLabel() - Method in class net.sf.sensor.gauge.support.FreeHeapMemoryGauge
Returns "net.sf.sensor.gauge.support.FreeHeapMemoryGauge".
getLabel() - Method in class net.sf.sensor.gauge.support.TotalHeapMemoryGauge
Returns "net.sf.sensor.gauge.support.TotalHeapMemoryGauge".
getLabel() - Method in class net.sf.sensor.gauge.support.UsedHeapMemoryGauge
Returns "net.sf.sensor.gauge.support.UsedHeapMemoryGauge".
getLabel() - Method in class net.sf.sensor.meter.Meter
Returns the label straight from the nested TimerData.
getLabel() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the String label that uniquely identifies this instance.
getLabels() - Method in interface net.sf.sensor.SensorStatistics
Returns a Set<String> of all labels associated with an instance of SensorStatistics.
getLabels() - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Returns the labels.
getLabels() - Method in class net.sf.sensor.timer.TimerStatistics
 
getMatchers() - Static method in class net.sf.sensor.filter.PropertyValueMatcher
 
getMaximumTime() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the maximum time (in milliseconds) measured until the last call to refresh().
getMaximumValue() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the maximumValue.
getMeter(String) - Method in class net.sf.sensor.meter.MeterRuntime
Returns a new Meter for the specified label.
getMeterRuntime() - Static method in class net.sf.sensor.StaticSensorRuntime
Returns the static MeterRuntime instance maintained by this class.
getMeterStatistics() - Method in class net.sf.sensor.meter.MeterRuntime
Returns an unmodifiable Collection<MeterStatistics> of all registered meters.
getMinimumTime() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the minimum time (in milliseconds) measured until the last call to refresh().
getMinimumValue() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the minimumValue.
getNumberOfHits() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the number of hits counted until the last call to refresh().
getNumberOfValueChanges() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the numberOfValueChanges.
getStandardDeviation() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the standardDeviation.
getStandardDeviation() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the standard deviation (in milliseconds) measured until the last call to refresh().
getSumOfSquaresOfTimes() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the sumOfSquaresOfTimes.
getSumOfSquaresOfValues() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the sumOfSquaresOfValues.
getSumOfValues() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the sumOfValues.
getTimeOfFirstUpdate() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the timeOfFirstUpdate in millseconds since the usual 01-01-1970 00:00 UTC.
getTimeOfFirstUpdate() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the timeOfFirstUpdate in millseconds since the usual 01-01-1970 00:00 UTC.
getTimeOfLastUpdate() - Method in class net.sf.sensor.meter.MeterStatistics
Returns the timeOfLastUpdate in millseconds since the usual 01-01-1970 00:00 UTC.
getTimeOfLastUpdate() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the timeOfLastUpdate in millseconds since the usual 01-01-1970 00:00 UTC.
getTimer(String) - Method in class net.sf.sensor.timer.TimerRuntime
Creates a new Timer instance for the specified id and starts it.
getTimer(String, String) - Method in class net.sf.sensor.timer.TimerRuntime
Creates a new Timer instance for the specified id and starts it.
getTimerRuntime() - Static method in class net.sf.sensor.StaticSensorRuntime
Returns the static TimerRuntime instance maintained by this class.
getTimerStatistics() - Method in class net.sf.sensor.timer.TimerRuntime
Returns a List<TimerStatistics> representing the statistics for all currently registered timers.
getTotalTime() - Method in class net.sf.sensor.timer.TimerStatistics
Returns the total time (in milliseconds) measured until the last call to refresh().
getValue() - Method in class net.sf.sensor.counter.Counter
Returns the value.
getValue() - Method in interface net.sf.sensor.gauge.Gauge
The current value of this Gauge.
getValue() - Method in class net.sf.sensor.gauge.support.FreeHeapMemoryGauge
Returns the amount of free memory in the Java Virtual Machine.
getValue() - Method in class net.sf.sensor.gauge.support.TotalHeapMemoryGauge
Returns the total amount of memory in the Java virtual machine.
getValue() - Method in class net.sf.sensor.gauge.support.UsedHeapMemoryGauge
Returns the amount of currently allocated heap memory in the Java Virtual Machine (total memory minus free memory).

H

hasChildren() - Method in class net.sf.sensor.timer.TimerStatistics
Returns true if this instance has one or more child instances.

I

increment() - Method in class net.sf.sensor.counter.Counter
Increments this counter by one.
isRunning() - Method in class net.sf.sensor.timer.Timer
Is this Timer instance currently running (ie Timer.start() was called but Timer.stop() was not called yet.

M

Meter - class net.sf.sensor.meter.Meter.
 
MeterRuntime - class net.sf.sensor.meter.MeterRuntime.
Main entry point for working with Meters.
MeterRuntime() - Constructor for class net.sf.sensor.meter.MeterRuntime
 
MeterStatistics - class net.sf.sensor.meter.MeterStatistics.
 
MeterStatistics(MeterData) - Constructor for class net.sf.sensor.meter.MeterStatistics
 
matches(String, String, boolean) - Method in class net.sf.sensor.filter.PropertyValueMatcher
 
matchesIdExpression(SensorStatistics) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Filter that applies the ID filter expression (if it has been set) to the id property of the specified SensorStatistics.
matchesLabels(SensorStatistics) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Filter that applies the label filter (if it has been set) to the labels property of the specified SensorStatistics.

N

net.sf.sensor - package net.sf.sensor
The core sensor package, containing general utilities and classes/interfaces shared between the different types of sensors.
net.sf.sensor.counter - package net.sf.sensor.counter
This package provides support for counting simple properties of runtime components.
net.sf.sensor.filter - package net.sf.sensor.filter
 
net.sf.sensor.gauge - package net.sf.sensor.gauge
This package provides support for measuring simple (numeric) properties of runtime components.
net.sf.sensor.gauge.support - package net.sf.sensor.gauge.support
This package provides some useful implementations of the Gauge interface.
net.sf.sensor.meter - package net.sf.sensor.meter
 
net.sf.sensor.timer - package net.sf.sensor.timer
This package provides support for measuring the time it takes for a piece of code to complete.

P

PERSISTENCE - Static variable in class net.sf.sensor.SensorLabels
Sensor label indicating that a sensor is associated with persistence logic.
PropertyValueMatcher - class net.sf.sensor.filter.PropertyValueMatcher.
Enum class that implements different types of matchers for filtering properties on their values.
PropertyValueMatcher() - Constructor for class net.sf.sensor.filter.PropertyValueMatcher
 

R

REGULAR_EXPRESSION - Static variable in class net.sf.sensor.filter.PropertyValueMatcher
 
REMOTE_METHOD_CALL - Static variable in class net.sf.sensor.SensorLabels
Sensor label indicating that a sensor is associated with a remote method call.
refresh() - Method in interface net.sf.sensor.SensorStatistics
Refresh the statistics from whatever original source they came from.
refresh() - Method in class net.sf.sensor.meter.MeterStatistics
Refreshes this instances and all its children.
refresh() - Method in class net.sf.sensor.timer.TimerStatistics
Refreshes this instances and all its children.
refreshFromData(long, long, long, long, long, long, long, long, long, long) - Method in class net.sf.sensor.meter.MeterStatistics
Callback method called from MeterData#refreshStatistics(MeterStatistics) to update all statistics.
removeGauge(String) - Method in class net.sf.sensor.gauge.GaugeRuntime
Removes the Gauge matching the specified label.
reset() - Method in interface net.sf.sensor.SensorStatistics
Resets the statistics to their default values.
reset() - Method in class net.sf.sensor.counter.Counter
Resets this counter back to zero.
reset() - Method in class net.sf.sensor.counter.CounterRuntime
Resets all active counters to zero.
reset() - Method in class net.sf.sensor.meter.MeterRuntime
Resets all active counters to zero.
reset() - Method in class net.sf.sensor.timer.TimerRuntime
Resets all data.
reset() - Method in class net.sf.sensor.timer.TimerStatistics
 

S

STARTS_WITH - Static variable in class net.sf.sensor.filter.PropertyValueMatcher
 
SensorLabels - class net.sf.sensor.SensorLabels.
Collection of public static final labels for use with the difference sensors.
SensorLabels() - Constructor for class net.sf.sensor.SensorLabels
 
SensorStatistics - interface net.sf.sensor.SensorStatistics.
 
SensorStatisticsFilter - class net.sf.sensor.filter.SensorStatisticsFilter.
A class that enables filtering We should be able to filter on common sensor attributes like IDs and labels.
SensorStatisticsFilter() - Constructor for class net.sf.sensor.filter.SensorStatisticsFilter
 
StaticSensorRuntime - class net.sf.sensor.StaticSensorRuntime.
Static wrapper around TimerRuntime that offers a simple, single-VM way of working with Timers.
setGaugeRuntime(GaugeRuntime) - Method in class net.sf.sensor.gauge.AbstractGauge
Setter that self-registers this Gaugeinstance with the specified GaugeRuntime.
setGauges(List) - Method in class net.sf.sensor.gauge.GaugeRuntime
Registers all gauges in the specified List<Gauge> with the runtime using their own labels as keys.
setIdExpression(String) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Sets the idExpression.
setIdMatcher(PropertyValueMatcher) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Sets the idMatcher.
setLabels(Set) - Method in class net.sf.sensor.filter.SensorStatisticsFilter
Sets the labels.
start() - Method in class net.sf.sensor.timer.Timer
Starts the timer.
stop() - Method in class net.sf.sensor.timer.Timer
Stops the timer and reports the time that passed since the first call to Timer.start() to the nested TimerData instance.

T

TRANSACTION - Static variable in class net.sf.sensor.SensorLabels
Sensor label indicating that a sensor is associated with a transaction.
Timer - class net.sf.sensor.timer.Timer.
Short-lived, non thread-safe input frontend class for working with timers.
TimerRuntime - class net.sf.sensor.timer.TimerRuntime.
Main entry point for working with Timers and TimerStatistics.
TimerRuntime() - Constructor for class net.sf.sensor.timer.TimerRuntime
todo get rid of this constructor
TimerStatistics - class net.sf.sensor.timer.TimerStatistics.
Thread-safe, refreshable snapshot view to the internally managed TimerData representing the timing values as they were when the refresh() method was last called.
TotalHeapMemoryGauge - class net.sf.sensor.gauge.support.TotalHeapMemoryGauge.
Simple implementation of Gauge that reports the current total size of heap memory (allocated and free/unallocated).
TotalHeapMemoryGauge() - Constructor for class net.sf.sensor.gauge.support.TotalHeapMemoryGauge
 
TotalHeapMemoryGauge(GaugeRuntime) - Constructor for class net.sf.sensor.gauge.support.TotalHeapMemoryGauge
 
toString() - Method in class net.sf.sensor.meter.MeterStatistics
 
toString() - Method in class net.sf.sensor.timer.TimerStatistics
 

U

UsedHeapMemoryGauge - class net.sf.sensor.gauge.support.UsedHeapMemoryGauge.
Simple implementation of Gauge that reports the current amount of allocated heap memory (in bytes).
UsedHeapMemoryGauge() - Constructor for class net.sf.sensor.gauge.support.UsedHeapMemoryGauge
 
UsedHeapMemoryGauge(GaugeRuntime) - Constructor for class net.sf.sensor.gauge.support.UsedHeapMemoryGauge
 
updateValue(long) - Method in class net.sf.sensor.meter.Meter
 

W

WEB_APPLICATION_REQUEST - Static variable in class net.sf.sensor.SensorLabels
Sensor label indicating that a sensor is associated with a web application request.

A B C D E F G H I M N P R S T U W

Copyright © 2005-2006 SourceForge. All Rights Reserved.