Top Fields Constructors Methods
org.glassfish.external.statistics.impl

public final Class BoundaryStatisticImpl

extends StatisticImpl
implements BoundaryStatistic, InvocationHandler
Class Inheritance
All Implemented Interfaces
java.lang.reflect.InvocationHandler, org.glassfish.external.statistics.BoundaryStatistic, org.glassfish.external.statistics.Statistic
Imports
org.glassfish.external.statistics.BoundaryStatistic, java.util.Map, java.lang.reflect.*

Author
Sreenivas Munnangi

Field Summary

Modifier and TypeField and Description
private final BoundaryStatistic
private final long
private final long
Inherited from org.glassfish.external.statistics.impl.StatisticImpl:
LAST_SAMPLE_TIMENEWLINEsampleTimeSTART_TIMEstatMapUNIT_COUNTUNIT_MICROSECONDUNIT_MILLISECONDUNIT_NANOSECONDUNIT_SECOND

Constructor Summary

AccessConstructor and Description
public
BoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime)

Method Summary

Modifier and TypeMethod and Description
public synchronized long
getLowerBound()

Implements org.glassfish.external.statistics.BoundaryStatistic.getLowerBound.

The lower limit of the value of this attribute.The upper limit of the value of this attribute.

public synchronized Map<K, V>
public synchronized BoundaryStatistic
public synchronized long
getUpperBound()

Implements org.glassfish.external.statistics.BoundaryStatistic.getUpperBound.

The upper limit of the value of this attribute.

public Object
invoke(Object proxy, Method m, Object[] args)

Implements java.lang.reflect.InvocationHandler.invoke.

Processes a method invocation on a proxy instance and returns the result.

public synchronized void
Inherited from org.glassfish.external.statistics.impl.StatisticImpl:
checkMethodgetDescriptiongetLastSampleTimegetNamegetStartTimegetUnitisValidStringtoString

Field Detail

bsback to summary
private final BoundaryStatistic bs
lowerBoundback to summary
private final long lowerBound
upperBoundback to summary
private final long upperBound

Constructor Detail

BoundaryStatisticImplback to summary
public BoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime)

Method Detail

getLowerBoundback to summary
public synchronized long getLowerBound()

Implements org.glassfish.external.statistics.BoundaryStatistic.getLowerBound.

Doc from org.glassfish.external.statistics.BoundaryStatistic.getLowerBound.

The lower limit of the value of this attribute.The upper limit of the value of this attribute.

getStaticAsMapback to summary
public synchronized Map<K, V> getStaticAsMap()

Overrides org.glassfish.external.statistics.impl.StatisticImpl.getStaticAsMap.

getStatisticback to summary
public synchronized BoundaryStatistic getStatistic()
getUpperBoundback to summary
public synchronized long getUpperBound()

Implements org.glassfish.external.statistics.BoundaryStatistic.getUpperBound.

Doc from org.glassfish.external.statistics.BoundaryStatistic.getUpperBound.

The upper limit of the value of this attribute.

invokeback to summary
public Object invoke(Object proxy, Method m, Object[] args) throws Throwable

Implements java.lang.reflect.InvocationHandler.invoke.

Doc from java.lang.reflect.InvocationHandler.invoke.

Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.

Exceptions
Throwable:
the exception to throw from the method invocation on the proxy instance. The exception's type must be assignable either to any of the exception types declared in the throws clause of the invoked method or to the unchecked exception types java.lang.RuntimeException or java.lang.Error. If a checked exception is thrown by this method that is not assignable to any of the exception types declared in the throws clause of the invoked method, then an UndeclaredThrowableException containing the exception that was thrown by this method will be thrown by the method invocation on the proxy instance.
resetback to summary
public synchronized void reset()

Overrides org.glassfish.external.statistics.impl.StatisticImpl.reset.

Annotations
@Override