Package | Description |
---|---|
com.hp.util.concurrent |
Package which provides utility classes to deal with concurrency.
|
Modifier and Type | Method and Description |
---|---|
void |
ThreadMonitor.ThreadListener.failed(ThreadMonitor.ThreadExecutionState state,
Exception failure)
Callback method to notify a thread has failed and the exception was
not caught.
|
void |
LoggerThreadListener.failed(ThreadMonitor.ThreadExecutionState state,
Exception failure) |
void |
ThreadMonitor.ThreadListener.finished(ThreadMonitor.ThreadExecutionState state)
Callback method to notify a thread has finished execution.
|
void |
LoggerThreadListener.finished(ThreadMonitor.ThreadExecutionState state) |
void |
ThreadMonitor.ThreadListener.overlapped(ThreadMonitor.ThreadExecutionState state,
javax.measure.Measurable<javax.measure.quantity.Duration> period)
Callback method to notify when a
Runnable is submitted to
be executed at a fixed rate but it took more time to execute than
its period. |
void |
LoggerThreadListener.overlapped(ThreadMonitor.ThreadExecutionState state,
javax.measure.Measurable<javax.measure.quantity.Duration> period) |
void |
ThreadMonitor.ThreadListener.started(ThreadMonitor.ThreadExecutionState state)
Callback method to notify a thread has started execution.
|
void |
LoggerThreadListener.started(ThreadMonitor.ThreadExecutionState state) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadMonitor.ThreadListener.executing(Collection<ThreadMonitor.ThreadExecutionState> states)
Callback method to notify a snapshot of the active threads in
execution.
|
void |
LoggerThreadListener.executing(Collection<ThreadMonitor.ThreadExecutionState> states) |
Copyright © 2016. All Rights Reserved.