| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private final long | |
| private final long | |
| private final long | |
| private final long | |
| private long | |
| private long | |
| private long | |
| private final TimeStatistic |
| Access | Constructor and Description |
|---|---|
| public | TimeStatisticImpl(long counter, long maximumTime, long minimumTime, long totalTime, String name, String unit, String desc, long startTime, long sampleTime)
|
| Modifier and Type | Method and Description |
|---|---|
| public synchronized long | getCount()
Implements org. Returns the number of times an operation was invoked |
| public synchronized long | getMaxTime()
Implements org. Returns the maximum amount of time that it took for one invocation of an operation, since measurement started. |
| public synchronized long | getMinTime()
Implements org. Returns the minimum amount of time that it took for one invocation of an operation, since measurement started. |
| public synchronized Map | |
| public synchronized TimeStatistic | |
| public synchronized long | getTotalTime()
Implements org. Returns the amount of time that it took for all invocations, since measurement started. |
| public synchronized void | |
| public Object | invoke(Object proxy, Method m, Object[] args)
Implements java. Processes a method invocation on a proxy instance and returns the result. |
| public synchronized void | |
| public synchronized String | toString()
Overrides org. Returns a string representation of the object. |
| count | back to summary |
|---|---|
| private long count | |
| initCount | back to summary |
|---|---|
| private final long initCount | |
| initMaxTime | back to summary |
|---|---|
| private final long initMaxTime | |
| initMinTime | back to summary |
|---|---|
| private final long initMinTime | |
| initTotTime | back to summary |
|---|---|
| private final long initTotTime | |
| maxTime | back to summary |
|---|---|
| private long maxTime | |
| minTime | back to summary |
|---|---|
| private long minTime | |
| totTime | back to summary |
|---|---|
| private long totTime | |
| ts | back to summary |
|---|---|
| private final TimeStatistic ts | |
| TimeStatisticImpl | back to summary |
|---|---|
| public TimeStatisticImpl(long counter, long maximumTime, long minimumTime, long totalTime, String name, String unit, String desc, long startTime, long sampleTime) | |
| getCount | back to summary |
|---|---|
| public synchronized long getCount() Implements org. Returns the number of times an operation was invoked | |
| getMaxTime | back to summary |
|---|---|
| public synchronized long getMaxTime() Implements org. Returns the maximum amount of time that it took for one invocation of an operation, since measurement started. | |
| getMinTime | back to summary |
|---|---|
| public synchronized long getMinTime() Implements org. Returns the minimum amount of time that it took for one invocation of an operation, since measurement started. | |
| getStaticAsMap | back to summary |
|---|---|
| public synchronized Map Overrides org. | |
| getStatistic | back to summary |
|---|---|
| public synchronized TimeStatistic getStatistic() | |
| getTotalTime | back to summary |
|---|---|
| public synchronized long getTotalTime() Implements org. Returns the amount of time that it took for all invocations, since measurement started. | |
| incrementCount | back to summary |
|---|---|
| public synchronized void incrementCount(long current) | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method m, Object[] args) throws Throwable Implements java. Doc from java. 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.
| |
| reset | back to summary |
|---|---|
| public synchronized void reset() Overrides org.
| |
| toString | back to summary |
|---|---|
| public synchronized String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |