Class SimpleQueryTerminator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.scheduler.SimpleQueryTerminator
-
- All Implemented Interfaces:
IQueryTerminator
public class SimpleQueryTerminator extends java.lang.Object implements IQueryTerminator
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.ScheduledExecutorServicescheduledExecutor
-
Constructor Summary
Constructors Constructor Description SimpleQueryTerminator(java.util.concurrent.ScheduledExecutorService scheduledExecutor, MPPQueryContext queryContext, java.util.List<FragmentInstance> fragmentInstances, org.apache.iotdb.commons.client.IClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient> internalServiceClientManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleansyncTerminate()java.util.concurrent.Future<java.lang.Boolean>terminate()
-
-
-
Constructor Detail
-
SimpleQueryTerminator
public SimpleQueryTerminator(java.util.concurrent.ScheduledExecutorService scheduledExecutor, MPPQueryContext queryContext, java.util.List<FragmentInstance> fragmentInstances, org.apache.iotdb.commons.client.IClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient> internalServiceClientManager)
-
-
Method Detail
-
terminate
public java.util.concurrent.Future<java.lang.Boolean> terminate()
- Specified by:
terminatein interfaceIQueryTerminator
-
syncTerminate
public java.lang.Boolean syncTerminate()
-
-