public interface Timings
This interface represents an instance of the builtin Timing
collection and reporting support.
A Java™ Plugin must implement the ISupportTimings
interface in order to gain
access to a builtin Timing
instance.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TIMINGS_PARAMETER
Name of the enable timings parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
enableTimings()
Enable timing collection.
|
void |
updateTimings(java.lang.String key,
long millis)
Collect the named timing value.
|
void |
writeTimings()
Write the collected timings.
|
static final java.lang.String TIMINGS_PARAMETER
void enableTimings()
void updateTimings(java.lang.String key, long millis)
key
- The name of the timing to add/update.millis
- The number of milliseconds to collect under the given key.void writeTimings()
Copyright © 2012 SAS Institute Inc. All Rights Reserved.