public class ExecStatisticsManager extends Object
setRecording(true);.| Constructor and Description |
|---|
ExecStatisticsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterable<ExecStatistics> values)
Adds new statistics and notifies any registered listeners.
|
void |
addListener(ExecStatisticsListener listener) |
void |
addSilently(Iterable<ExecStatistics> values)
Adds new statistics without notifying listeners.
|
static ExecStatisticsManager |
get()
Gets the singleton instance of this class.
|
List<ExecStatistics> |
getStatistics()
Gets all previously added statistics.
|
boolean |
isRecording() |
boolean |
isRecordingDeclarativeFunctions() |
boolean |
isRecordingNativeFunctions() |
void |
notifyListeners()
Notifies all registered listeners so that they can refresh themselves.
|
void |
removeListener(ExecStatisticsListener listener) |
void |
reset() |
void |
setRecording(boolean value) |
void |
setRecordingDeclarativeFunctions(boolean value) |
void |
setRecordingNativeFunctions(boolean value) |
public static ExecStatisticsManager get()
public void addListener(ExecStatisticsListener listener)
public void add(Iterable<ExecStatistics> values)
isRecording() is true
to prevent the unnecessary creation of SPINStatistics objects.values - the statistics to addpublic void addSilently(Iterable<ExecStatistics> values)
isRecording() is true
to prevent the unnecessary creation of SPINStatistics objects.values - the statistics to addpublic List<ExecStatistics> getStatistics()
public boolean isRecording()
public boolean isRecordingDeclarativeFunctions()
public boolean isRecordingNativeFunctions()
public void removeListener(ExecStatisticsListener listener)
public void reset()
public void notifyListeners()
public void setRecording(boolean value)
public void setRecordingDeclarativeFunctions(boolean value)
public void setRecordingNativeFunctions(boolean value)
Copyright © 2019 TopQuadrant, Inc.. All rights reserved.