public class RenderTreeFuture extends TreeFuture<LithoResolutionResult>
mFutureTask, mMoveOperationsBetweenThreads, mRunningThreadId
Constructor and Description |
---|
RenderTreeFuture(ComponentContext c,
Component component,
TreeState treeState,
LithoNode currentRootNode,
PerfEvent perfEvent,
int layoutVersion) |
Modifier and Type | Method and Description |
---|---|
protected LithoResolutionResult |
calculate()
Calculates a new result for this TreeFuture.
|
boolean |
isEquivalentTo(TreeFuture that)
Returns true if the provided TreeFuture is equivalent to this one.
|
protected LithoResolutionResult |
resumeCalculation(LithoResolutionResult partialResult)
Resumes an interrupted calculation based on a partial result
|
addSystraceArgs, getWaitingCount, onGetEnd, onGetStart, onWaitEnd, onWaitStart
public RenderTreeFuture(ComponentContext c, Component component, TreeState treeState, LithoNode currentRootNode, PerfEvent perfEvent, int layoutVersion)
protected LithoResolutionResult calculate()
TreeFuture
calculate
in class TreeFuture<LithoResolutionResult>
protected LithoResolutionResult resumeCalculation(LithoResolutionResult partialResult)
TreeFuture
resumeCalculation
in class TreeFuture<LithoResolutionResult>
public boolean isEquivalentTo(TreeFuture that)
TreeFuture
isEquivalentTo
in class TreeFuture<LithoResolutionResult>