|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationTracker
Used to track some set of operations in such a way that a failure (a thrown RuntimeException) will be logged along with a trace of the stack of operations.
| Method Summary | ||
|---|---|---|
|
invoke(String description,
Invokable<T> operation)
Executes the operation, returning its value. |
|
void |
run(String description,
Runnable operation)
Executes the operation. |
|
| Method Detail |
|---|
void run(String description,
Runnable operation)
description - used if there is an exceptionoperation - to execute
<T> T invoke(String description,
Invokable<T> operation)
description - used if there is an exceptionoperation - to invoke
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||