Class RuleBasedTimeSliceAllocator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.timer.RuleBasedTimeSliceAllocator
-
- All Implemented Interfaces:
ITimeSliceAllocator
public class RuleBasedTimeSliceAllocator extends java.lang.Object implements ITimeSliceAllocator
-
-
Constructor Summary
Constructors Constructor Description RuleBasedTimeSliceAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.airlift.units.DurationgetMaxRunTime(OperatorContext operatorContext)voidrecordExecutionWeight(OperatorContext operatorContext, int weight)
-
-
-
Method Detail
-
recordExecutionWeight
public void recordExecutionWeight(OperatorContext operatorContext, int weight)
-
getMaxRunTime
public io.airlift.units.Duration getMaxRunTime(OperatorContext operatorContext)
- Specified by:
getMaxRunTimein interfaceITimeSliceAllocator
-
-