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, onWaitStartpublic RenderTreeFuture(ComponentContext c, Component component, TreeState treeState, LithoNode currentRootNode, PerfEvent perfEvent, int layoutVersion)
protected LithoResolutionResult calculate()
TreeFuturecalculate in class TreeFuture<LithoResolutionResult>protected LithoResolutionResult resumeCalculation(LithoResolutionResult partialResult)
TreeFutureresumeCalculation in class TreeFuture<LithoResolutionResult>public boolean isEquivalentTo(TreeFuture that)
TreeFutureisEquivalentTo in class TreeFuture<LithoResolutionResult>