- getActionChain() - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Return the current post completion action processor.
- getActionChain() - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Return the current post completion action processor.
- getActions() - Method in class net.digitaltsunami.tmeter.action.ActionChain
-
Return a set of all actions currently in the chain.
- getAllTimerStatistics() - Method in class net.digitaltsunami.tmeter.action.TimerStatsAction
-
Return a collection of live instances of
TimerBasicStatistics
for
all tasks processed up to the point of invoking this method.
- getAllTimerStatisticsSnapshot() - Method in class net.digitaltsunami.tmeter.action.TimerStatsAction
-
Return a collection of snapshot instances of
TimerBasicStatistics
for all tasks processed up to the point of invoking this method.
- getAverageElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the average elapsed time recorded for this task.
- getAverageElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the average elapsed time recorded for this task in nanoseconds.
- getConcurrent() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the number of concurrent timers recorded for a task.
- getConcurrent() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getCount() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the number of times this instance has been updated with timer
values.
- getCsvHeader() - Static method in class net.digitaltsunami.tmeter.Timer
-
Return a CSV formatted string providing a header for the entries that
will be written if CSV logging is enabled.
- getCurrentTimers() - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Returns a copy of the current list of
Timer
entries.
- getCurrentTimers() - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Returns a copy of the current list of
Timer
entries.
- getDefaultTimeRecorder() - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
- getDefaultTimeRecorder() - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
- getElapsedMillis() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the elapsed time for this task in milliseconds.
- getElapsedMillis() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getElapsedNanos(boolean) - Method in class net.digitaltsunami.tmeter.Timer
-
Return the elapsed time for this task in nanoseconds.
- getElapsedNanos() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the elapsed time for this task in nanoseconds if the timer has
been stopped.
- getElapsedNanos(boolean) - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getFormattedNote(int) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getFormattedNote(int) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getFormattedNote(int) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the formatted note for the provided index.
- getGroup() - Method in class net.digitaltsunami.tmeter.level.CategoryTimerLevel
-
- getGroup() - Method in class net.digitaltsunami.tmeter.level.ThresholdTimerLevel
-
- getGroup() - Method in interface net.digitaltsunami.tmeter.level.TimerLevel
-
Return the group to which this timer level belongs.
- getGroup() - Method in class net.digitaltsunami.tmeter.level.TimerLevelSet
-
- getGroup() - Method in enum net.digitaltsunami.tmeter.level.TimerThreshold
-
- getIndexForKey(String) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getIndexForKey(String) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getIndexForKey(String) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the index value for the provided key.
- getInstance() - Static method in class net.digitaltsunami.tmeter.record.NullTimeRecorder
-
- getKeys() - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getKeys() - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getKeys() - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return a copy of the keys array.
- getLength() - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getLength() - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getLength() - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the number of notes.
- getLevels() - Method in interface net.digitaltsunami.tmeter.level.TimerLevelCollection
-
Return a set of all
TimerLevel
s within this collection.
- getLevels() - Method in class net.digitaltsunami.tmeter.level.TimerLevelSet
-
- getLevelType() - Method in class net.digitaltsunami.tmeter.level.CategoryTimerLevel
-
- getLevelType() - Method in class net.digitaltsunami.tmeter.level.ThresholdTimerLevel
-
- getLevelType() - Method in interface net.digitaltsunami.tmeter.level.TimerLevel
-
Return the type of level that this level represents.
- getLevelType() - Method in class net.digitaltsunami.tmeter.level.TimerLevelSet
-
- getLevelType() - Method in enum net.digitaltsunami.tmeter.level.TimerThreshold
-
- getLogType() - Method in class net.digitaltsunami.tmeter.record.FileTimeRecorder
-
- getMaxElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the maximum time recorded for this task.
- getMaxElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the maximum number of elapsed nanoseconds recorded for this task.
- getMinElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the minimum time recorded for this task.
- getMinElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the minimum number of elapsed nanoseconds recorded for this task.
- getName() - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
- getNotes() - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getNotes() - Method in class net.digitaltsunami.tmeter.Timer
-
Return array of domain specific objects.
- getNotes() - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getNotes() - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return a copy of the array of notes.
- getSnapshot() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Creates a snapshot of the instance and returns as a new instance.
- getStartTimeMillis() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the start time in milliseconds.
- getStartTimeMillis() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getStartTimeNanos() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the start time in nanoseconds.
- getStartTimeNanos() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getStatus() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the current state of the timer.
- getStatus() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getStdDevElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the standard deviation of elapsed times recorded for this task.
- getStdDevElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the standard deviation of elapsed times recorded for this task in nanoseconds.
- getStopTimeNanos() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the stop time in nanoseconds.
- getStopTimeNanos() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- getStringValue(int) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getStringValue(String) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getStringValue(int) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getStringValue(String) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getStringValue(int) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the note at the provided index as a
String
.
- getStringValue(String) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the note for the provided key as a
String
.
- getTaskName() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the task name associated with this timer.
- getTaskName() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the task name for which the statistics are being tracked.
- getThreadName() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the name of the thread under which this timer was created.
- getTimer() - Method in class net.digitaltsunami.tmeter.event.TimerStoppedEvent
-
- getTimerLevel() - Method in class net.digitaltsunami.tmeter.Timer
-
Return the timer level associated with this timer.
- getTimerStatistics(String) - Method in class net.digitaltsunami.tmeter.action.TimerStatsAction
-
- getTimerStatisticsSnapshot(String) - Method in class net.digitaltsunami.tmeter.action.TimerStatsAction
-
- getTotalElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the accumulated time recorded for this task.
- getTotalElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the accumulated number of elapsed nanoseconds recorded for this
task.
- getValue(int) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getValue(String) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- getValue(int) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getValue(String) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- getValue(int) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Return the note at the provided index.
- getValue(String) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Returns the note value as an object for the provided key.
- getVarianceElapsed(TimeUnit) - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the variance of elapsed times recorded for this task.
- getVarianceElapsedNanos() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Return the variance of elapsed times recorded for this task in nanoseconds.
- setActionChain(ActionChain) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Set the current post completion action processor.
- setActionChain(ActionChain) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Set the current post completion action processor.
- setCompletionListener(TimerStoppedListener) - Method in class net.digitaltsunami.tmeter.Timer
-
Set the single completion listener for this timer.
- setConcurrent(int) - Method in class net.digitaltsunami.tmeter.Timer
-
Sets the number of concurrent timers recorded for a task.
- setConcurrent(int) - Method in class net.digitaltsunami.tmeter.TimerShell
-
- setDefaultTimeRecorder(TimeRecorder) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Indicates the default method to record the timer when it is stopped.
- setDefaultTimeRecorder(TimeRecorder) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Indicates the default method to record the timer when it is stopped.
- setKeepList(boolean) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Indicates whether or not we are keeping a list of all timers.
- setKeepList(boolean) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Indicates whether or not we are keeping a list of all timers.
- setKeyedNotes(Object...) - Method in class net.digitaltsunami.tmeter.Timer
-
Optional array of domain specific objects.
- setNotes(Object...) - Method in class net.digitaltsunami.tmeter.Timer
-
Optional array of domain specific objects.
- setTimeRecorder(TimeRecorder) - Method in class net.digitaltsunami.tmeter.Timer
-
Indicate whether or not to log the results of the timer upon completion.
- setTimeRecorder(TimeRecorder) - Method in class net.digitaltsunami.tmeter.TimerShell
-
- setTrackConcurrent(boolean) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Indicates whether or not we are keeping track of concurrent task count.
- setTrackConcurrent(boolean) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Indicates whether or not we are keeping track of concurrent task count.
- setTrackingDisabled(boolean) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Set tracking to enabled/disabled.
- setTrackingDisabled(boolean) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Set tracking to enabled/disabled.
- shutdown() - Method in class net.digitaltsunami.tmeter.action.ActionChain
-
Shutdown processing of the action chain with the option of finishing
current tasks.
- shutdown() - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Shutdown all time tracking related processing threads.
- shutdown() - Method in class net.digitaltsunami.tmeter.record.QueuedTimeRecorder
-
Complete the current queue of timers and stop processing.
- shutdown() - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Shutdown all time tracking related processing threads connected to the
common time tracker.
- shutdownAllTimeTrackers() - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Shutdown all
NamedTimeTracker
instances, including the common one
maintained by TimeTracker.
- shutdownNow() - Method in class net.digitaltsunami.tmeter.action.ActionChain
-
Shutdown processing of the action chain, discarding all timers currently
on the queue.
- start() - Method in class net.digitaltsunami.tmeter.Timer
-
Start the time recording if not already started.
- start() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- startRecording(TimerLevel, String) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Create and configure a
Timer
instance as applicable.
- startRecording(String) - Method in class net.digitaltsunami.tmeter.NamedTimeTracker
-
Create and configure a
Timer
instance as applicable.
- startRecording(TimerLevel, String) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Create and configure a
Timer
instance as applicable.
- startRecording(String) - Static method in class net.digitaltsunami.tmeter.TimeTracker
-
Create and configure a
Timer
instance as applicable.
- stop() - Method in class net.digitaltsunami.tmeter.Timer
-
Stop the current time recording.
- stop(Object...) - Method in class net.digitaltsunami.tmeter.Timer
-
Stop the current time recording.
- stop(Boolean, Object...) - Method in class net.digitaltsunami.tmeter.Timer
-
Stop the current time recording.
- stop() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- submitCompletedTimer(Timer) - Method in class net.digitaltsunami.tmeter.action.ActionChain
-
Submit a completed timer for post processing.
- ThresholdTimerLevel<E extends Enum<E>> - Class in net.digitaltsunami.tmeter.level
-
- ThresholdTimerLevel(E) - Constructor for class net.digitaltsunami.tmeter.level.ThresholdTimerLevel
-
- Timer - Class in net.digitaltsunami.tmeter
-
A record of elapsed time.
- Timer(String) - Constructor for class net.digitaltsunami.tmeter.Timer
-
Construct an instance of Timer for the given task and start the timer.
- Timer(String, TimerLevel) - Constructor for class net.digitaltsunami.tmeter.Timer
-
Construct an instance of Timer for the given task and start the timer.
- Timer(String, boolean, TimerLevel) - Constructor for class net.digitaltsunami.tmeter.Timer
-
Construct an instance of Timer for the given task and optionally delay
the start of the timer.
- Timer(String, boolean, TimeRecorder) - Constructor for class net.digitaltsunami.tmeter.Timer
-
Construct an instance of Timer for the given task and optionally delay
the start of the timer.
- Timer(String, boolean, TimeRecorder, TimerLevel) - Constructor for class net.digitaltsunami.tmeter.Timer
-
Construct an instance of Timer for the given task and optionally delay
the start of the timer.
- Timer.TimerStatus - Enum in net.digitaltsunami.tmeter
-
- TimerAction - Class in net.digitaltsunami.tmeter.action
-
Defines an interface for possibly more complex handling of timer instances.
- TimerAction() - Constructor for class net.digitaltsunami.tmeter.action.TimerAction
-
- TimerBasicStatistics - Class in net.digitaltsunami.tmeter
-
Maintains basic statistics for a given task.
- TimerBasicStatistics(String) - Constructor for class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Create an empty statistics instance for the task.
- TimerBasicStatistics(Timer) - Constructor for class net.digitaltsunami.tmeter.TimerBasicStatistics
-
Create a statistics instance and initialize with the values from the
Timer
provided.
- timerComplete(Timer) - Method in class net.digitaltsunami.tmeter.action.TimerAction
-
- TimeRecorder - Interface in net.digitaltsunami.tmeter.record
-
Records the
Timer
for later processing.
- TimeRecorderAction - Class in net.digitaltsunami.tmeter.action
-
- TimeRecorderAction(TimeRecorder) - Constructor for class net.digitaltsunami.tmeter.action.TimeRecorderAction
-
- TimerLevel - Interface in net.digitaltsunami.tmeter.level
-
A level used to filter Timer calls.
- TimerLevelCollection - Interface in net.digitaltsunami.tmeter.level
-
- TimerLevelSet - Class in net.digitaltsunami.tmeter.level
-
- TimerLevelSet(TimerLevel...) - Constructor for class net.digitaltsunami.tmeter.level.TimerLevelSet
-
- TimerLevelType - Enum in net.digitaltsunami.tmeter.level
-
- TimerLogType - Enum in net.digitaltsunami.tmeter
-
Used to indicate to
Timer
what processing should be completed upon
the timer being stopped.
- TimerNoteList - Class in net.digitaltsunami.tmeter
-
Structure to append domain specific notes to
Timer
recordings.
- TimerNoteList(Object...) - Constructor for class net.digitaltsunami.tmeter.TimerNoteList
-
Create a new
TimerNoteList
and store all provided values as notes.
- TimerNotes - Interface in net.digitaltsunami.tmeter
-
A set of notes associated with the timer.
- TimerNotesParser - Class in net.digitaltsunami.tmeter
-
Parser that will convert a string representation of timer notes into an
instance of
TimerNotes
.
- TimerNotesParser() - Constructor for class net.digitaltsunami.tmeter.TimerNotesParser
-
- TimerShell - Class in net.digitaltsunami.tmeter
-
Timer shell used as return value when time recording is turned off.
- TimerShell(String) - Constructor for class net.digitaltsunami.tmeter.TimerShell
-
- TimerStatsAction - Class in net.digitaltsunami.tmeter.action
-
An implementation of
TimerAction
that provides basic statistics for all
timers processed by this action.
- TimerStatsAction() - Constructor for class net.digitaltsunami.tmeter.action.TimerStatsAction
-
- TimerStatsPublisher - Interface in net.digitaltsunami.tmeter.action
-
Interface to allow publishing of timer statistics.
- TimerStatsPublisherAction - Class in net.digitaltsunami.tmeter.action
-
Timer statistics action that publishes all accumulated statistics to the
provided
TimerStatsPublisher
.
- TimerStatsPublisherAction(TimerStatsPublisher) - Constructor for class net.digitaltsunami.tmeter.action.TimerStatsPublisherAction
-
Create an instance with the required publisher.
- timerStopped(TimerStoppedEvent) - Method in interface net.digitaltsunami.tmeter.event.TimerStoppedListener
-
Event fired when a timer is stopped.
- TimerStoppedEvent - Class in net.digitaltsunami.tmeter.event
-
- TimerStoppedEvent(Timer) - Constructor for class net.digitaltsunami.tmeter.event.TimerStoppedEvent
-
Construct a completion event providing the timer that has completed.
- TimerStoppedListener - Interface in net.digitaltsunami.tmeter.event
-
Interface to register for timer stopped events.
- TimerThreshold - Enum in net.digitaltsunami.tmeter.level
-
Basic threshold timer level providing three levels of granularity:
COURSE: Record timers at a high level.
- TimeTracker - Class in net.digitaltsunami.tmeter
-
A framework for recording elapsed time to perform a given task and to drive
processing of the completed timers.
- TmeterException - Exception in net.digitaltsunami.tmeter
-
General high level exception to abstract lower level exceptions.
- TmeterException() - Constructor for exception net.digitaltsunami.tmeter.TmeterException
-
- TmeterException(String) - Constructor for exception net.digitaltsunami.tmeter.TmeterException
-
- TmeterException(Throwable) - Constructor for exception net.digitaltsunami.tmeter.TmeterException
-
- TmeterException(String, Throwable) - Constructor for exception net.digitaltsunami.tmeter.TmeterException
-
- toCsv() - Method in class net.digitaltsunami.tmeter.Timer
-
Return a CSV format of the current timer in the format: start time in
milliseconds, task name, thread name, elapsed milliseconds, elapsed
nanoseconds, concurrent count, and any associated notes.
- toCsv() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- toSingleValue() - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- toSingleValue(char) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- toSingleValue(char, char) - Method in class net.digitaltsunami.tmeter.KeyedTimerNotes
-
- toSingleValue() - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- toSingleValue(char) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- toSingleValue(char, char) - Method in class net.digitaltsunami.tmeter.TimerNoteList
-
- toSingleValue() - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
- toSingleValue(char) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Creates a single
String
value containing all notes delimited by
the provided noteDelimiter.
- toSingleValue(char, char) - Method in interface net.digitaltsunami.tmeter.TimerNotes
-
Creates a single
String
value containing all notes delimited by
the provided noteDelimiter.
- toString() - Method in class net.digitaltsunami.tmeter.Timer
-
Return a string format of the current timer including the task name,
start time, elapsed time, and any notes associated with the timer.
- toString() - Method in class net.digitaltsunami.tmeter.TimerBasicStatistics
-
- toString() - Method in class net.digitaltsunami.tmeter.TimerShell
-
- valueOf(String) - Static method in enum net.digitaltsunami.tmeter.action.ActionChainShutdownType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.digitaltsunami.tmeter.level.TimerLevelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.digitaltsunami.tmeter.level.TimerThreshold
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.digitaltsunami.tmeter.Timer.TimerStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.digitaltsunami.tmeter.TimerLogType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.digitaltsunami.tmeter.action.ActionChainShutdownType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.digitaltsunami.tmeter.level.TimerLevelType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.digitaltsunami.tmeter.level.TimerThreshold
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.digitaltsunami.tmeter.Timer.TimerStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.digitaltsunami.tmeter.TimerLogType
-
Returns an array containing the constants of this enum type, in
the order they are declared.