docs/javadoc/reference/com/facebook/imagepipeline/instrumentation/FrescoInstrumenter.Instrumenter.html
|
|
public static interface
| com.facebook.imagepipeline.instrumentation.FrescoInstrumenter.Instrumenter |
Allows to capture unit of works across different threads.
| Public Methods |
|---|
| abstract Runnable |
| Called when a unit of work is about to be scheduled. |
| abstract boolean |
| Allows to know in advance if the custom instrumenter desires to receive continuation updates. |
| abstract void |
| Reports a failure while executing work. |
| abstract Object |
| Called before scheduling a new unit work. |
| abstract Object |
| Captures the beginning of the continuation for stolen work. |
| abstract void |
| Captures the end of the continuation for stolen work. |
Called when a unit of work is about to be scheduled.
| runnable | that will be executed. | | tag | name. |
Allows to know in advance if the custom instrumenter desires to receive continuation updates. This can be used to avoid un-necessary work if the subscriber will not use the information provided.
Reports a failure while executing work.
onEndWork(Object) still needs to be invoked.
| token | returned by onBeginWork(Object, String). |
| th | containing the failure. |
Called before scheduling a new unit work.
| tag | name. |
Captures the beginning of the continuation for stolen work.
| token | returned by onBeforeSubmitWork(String). |
| tag | optional name. |
Captures the end of the continuation for stolen work.
| token | returned by onBeginWork(Object, String). |
+Generated by Doclava. +