|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPerformanceMonitor
A service that collects performance information on validation operations.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Nested Class Summary | |
---|---|
static class |
IPerformanceMonitor.CollectionLevel
The level of information to collect. |
Method Summary | |
---|---|
void |
add(PerformanceCounters counters)
Add this performance counter to the monitor. |
IPerformanceMonitor.CollectionLevel |
getCollectionLevel()
Answer the level of performance events that are being collected by the validation framework. |
java.util.List<PerformanceCounters> |
getPerformanceCounters(boolean asSummary)
Answer the performance counters that have been collected so far. |
boolean |
isCollecting()
Answer true if the performance monitor is collecting performance events. |
boolean |
isSummaryOnly()
Answer true if only summary information is requested. |
void |
resetPerformanceCounters()
Delete the collected performance counters. |
void |
setCollectionLevel(IPerformanceMonitor.CollectionLevel level)
Set the performance event collection level. |
Method Detail |
---|
void add(PerformanceCounters counters)
counters
- boolean isCollecting()
boolean isSummaryOnly()
void setCollectionLevel(IPerformanceMonitor.CollectionLevel level)
level
- The level to collect. The default is to not collect anything.IPerformanceMonitor.CollectionLevel getCollectionLevel()
java.util.List<PerformanceCounters> getPerformanceCounters(boolean asSummary)
asSummary
- If this parameter is true, only answer a summary of the counters.void resetPerformanceCounters()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |