|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.PerThreadOperationTracker
public class PerThreadOperationTracker
Manages a per-thread OperationTracker using a ThreadLocal.
| Constructor Summary | |
|---|---|
PerThreadOperationTracker(org.slf4j.Logger logger)
|
|
| Method Summary | ||
|---|---|---|
|
invoke(java.lang.String description,
Invokable<T> operation)
Executes the operation, returning its value. |
|
void |
run(java.lang.String description,
java.lang.Runnable operation)
Executes the operation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerThreadOperationTracker(org.slf4j.Logger logger)
| Method Detail |
|---|
public void run(java.lang.String description,
java.lang.Runnable operation)
OperationTracker
run in interface OperationTrackerdescription - used if there is an exceptionoperation - to execute
public <T> T invoke(java.lang.String description,
Invokable<T> operation)
OperationTracker
invoke in interface OperationTrackerdescription - used if there is an exceptionoperation - to invoke
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||