public static interface

AbstractDataSource.DataSourceInstrumenter

com.facebook.datasource.AbstractDataSource.DataSourceInstrumenter

Class Overview

Allows to capture unit of works for instrumentation purposes.

Summary

Public Methods
abstract Runnable decorateRunnable(Runnable runnable, String tag)
Called when a unit of work is about to be scheduled.

Public Methods

public abstract Runnable decorateRunnable (Runnable runnable, String tag)

Called when a unit of work is about to be scheduled.

Parameters
runnable that will be executed.
tag name.
Returns
  • the wrapped input runnable or just the input one.