@FunctionalInterface @JsFunction public interface Measure
A Measure object is used to execute code asynchronously, at the next measuring phase of Presto's cycle.
Presto's state associated with the measuring phase: (Presto.State.MEASURING
).
Usage: Call Presto.scheduleMeasure(Measure)
with a Measure object instance or a lambda expression.
Modifier and Type | Method and Description |
---|---|
void |
measure()
Execute the mesure asynchronously.
|
void measure()
IllegalStateException
if a mutation is attempted.IllegalStateException
- if the code tries to mutate (write) the DOMCopyright © 2018 Xalys. All rights reserved.