public final class

FrescoInstrumenter

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.instrumentation.FrescoInstrumenter

Class Overview

Utility class that provides hooks to capture execution of different units of work. Client code can specify a custom FrescoInstrumenter.Instrumenter that will receive ad-hoc updates when work that has to be executed across threads gets moved around.

Summary

Nested Classes
interface FrescoInstrumenter.Instrumenter Allows to capture unit of works across different threads. 
Public Constructors
FrescoInstrumenter()
Public Methods
static Runnable decorateRunnable(Runnable runnable, String tag)
static boolean isTracing()
static void markFailure(Object token, Throwable th)
static Object onBeforeSubmitWork(String tag)
static Object onBeginWork(Object token, String tag)
static void onEndWork(Object token)
static void provide(FrescoInstrumenter.Instrumenter instrumenter)
Allows to provide a FrescoInstrumenter.Instrumenter that will receive units of work updates.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FrescoInstrumenter ()

Public Methods

public static Runnable decorateRunnable (Runnable runnable, String tag)

public static boolean isTracing ()

public static void markFailure (Object token, Throwable th)

public static Object onBeforeSubmitWork (String tag)

public static Object onBeginWork (Object token, String tag)

public static void onEndWork (Object token)

public static void provide (FrescoInstrumenter.Instrumenter instrumenter)

Allows to provide a FrescoInstrumenter.Instrumenter that will receive units of work updates.

Parameters
instrumenter to be notified or null to reset.