public interface Scheduler<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Scheduler.SubmissionState |
| Modifier and Type | Method and Description |
|---|---|
QueryIdentifier |
findQueryByFragment(String fragmentId) |
Set<String> |
getExecutorsStatusForReporting() |
int |
getNumActiveForReporting() |
void |
killFragment(String fragmentId)
Attempt to kill the fragment with the specified fragmentId
|
Scheduler.SubmissionState |
schedule(T t)
Schedule the task or throw RejectedExecutionException if queues are full
|
boolean |
updateFragment(String fragmentId,
boolean isGuaranteed) |
Scheduler.SubmissionState schedule(T t)
t - - task to schedulevoid killFragment(String fragmentId)
fragmentId - int getNumActiveForReporting()
QueryIdentifier findQueryByFragment(String fragmentId)
boolean updateFragment(String fragmentId, boolean isGuaranteed)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.