Package io.trino.operator
Class DriverYieldSignal
java.lang.Object
io.trino.operator.DriverYieldSignal
Methods setWithDelay and reset should be used in pairs;
usually follow the following idiom:
{@code
DriverYieldSignal signal = ...;
signal.setWithDelay(duration, executor);
try {
// block
} finally {
signal.reset();
}
</pre>-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisSet()voidreset()voidvoidsetWithDelay(long maxRunNanos, ScheduledExecutorService executor) toString()
-
Constructor Details
-
DriverYieldSignal
public DriverYieldSignal()
-
-
Method Details