Groovy Documentation

org.linkedin.glu.agent.api
[Groovy] Interface FutureExecution


interface FutureExecution
extends java.util.concurrent.Future

Authors:
ypujante@linkedin.com


Method Summary
java.lang.Object get(java.lang.Object timeout)

Convenient call which allow a timeout of different types (long, String, Timespan...)

long getCompletionTime()

when the execution completes

long getFutureExecutionTime()

when the execution should start (0 means start now)

java.lang.String getId()

Unique id of the execution

long getStartTime()

when the execution started

 
Methods inherited from interface java.util.concurrent.Future
java.util.concurrent.Future#get(), java.util.concurrent.Future#get(long, java.util.concurrent.TimeUnit), java.util.concurrent.Future#isCancelled(), java.util.concurrent.Future#cancel(boolean), java.util.concurrent.Future#isDone()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

get

java.lang.Object get(java.lang.Object timeout)
Convenient call which allow a timeout of different types (long, String, Timespan...)


getCompletionTime

long getCompletionTime()
when the execution completes


getFutureExecutionTime

long getFutureExecutionTime()
when the execution should start (0 means start now)


getId

java.lang.String getId()
Unique id of the execution


getStartTime

long getStartTime()
when the execution started


 

Groovy Documentation