com.google.common.util.concurrent.ExecutionList Java Examples

The following examples show how to use com.google.common.util.concurrent.ExecutionList. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JobLauncherExecutionDriver.java    From incubator-gobblin with Apache License 2.0 5 votes vote down vote up
protected JobLauncherExecutionDriver(JobSpec jobSpec, Logger log, DriverRunnable runnable) {
  super(runnable);
  _closer = Closer.create();
  _closer.register(runnable.getJobLauncher());
  _log = log;
  _jobSpec = jobSpec;
  _jobExec = runnable.getJobExec();
  _callbackDispatcher = _closer.register(runnable.getCallbackDispatcher());
  _jobState = runnable.getJobState();
  _executionList = new ExecutionList();
  _runnable = runnable;
}
 
Example #2
Source File: BasicTask.java    From brooklyn-server with Apache License 2.0 4 votes vote down vote up
@Override
public ExecutionList getListeners() {
    return listeners;
}
 
Example #3
Source File: BasicExecutionManager.java    From brooklyn-server with Apache License 2.0 4 votes vote down vote up
private CancellingListenableForwardingFutureForTask(BasicExecutionManager execMgmt, Future<T> delegate, ExecutionList list, Task<T> task) {
    super(delegate);
    this.listeners = list;
    this.execMgmt = execMgmt;
    this.task = task;
}
 
Example #4
Source File: BasicExecutionManager.java    From brooklyn-server with Apache License 2.0 4 votes vote down vote up
public ExecutionList getListeners() {
    return listeners;
}
 
Example #5
Source File: ForwardingTask.java    From brooklyn-server with Apache License 2.0 4 votes vote down vote up
@Override
public ExecutionList getListeners() {
    return delegate().getListeners();
}
 
Example #6
Source File: TaskInternal.java    From brooklyn-server with Apache License 2.0 votes vote down vote up
ExecutionList getListeners();