Package io.prestosql.dispatcher
Interface DispatchQuery
-
- All Superinterfaces:
ManagedQueryExecution
,QueryTracker.TrackedQuery
- All Known Implementing Classes:
FailedDispatchQuery
,LocalDispatchQuery
public interface DispatchQuery extends QueryTracker.TrackedQuery, ManagedQueryExecution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
com.google.common.util.concurrent.ListenableFuture<?>
getDispatchedFuture()
DispatchInfo
getDispatchInfo()
void
recordHeartbeat()
-
Methods inherited from interface io.prestosql.execution.ManagedQueryExecution
addStateChangeListener, fail, getBasicQueryInfo, getErrorCode, getFullQueryInfo, getSession, getState, getTotalCpuTime, getTotalMemoryReservation, getUserMemoryReservation, isDone, startWaitingForResources
-
Methods inherited from interface io.prestosql.execution.QueryTracker.TrackedQuery
fail, getCreateTime, getEndTime, getExecutionStartTime, getLastHeartbeat, getQueryId, getSession, isDone, pruneInfo
-
-
-
-
Method Detail
-
recordHeartbeat
void recordHeartbeat()
-
getDispatchedFuture
com.google.common.util.concurrent.ListenableFuture<?> getDispatchedFuture()
-
getDispatchInfo
DispatchInfo getDispatchInfo()
-
cancel
void cancel()
-
-