Groovy Documentation

org.linkedin.glu.agent.impl.script
[Groovy] Class FutureExecutionImpl

java.lang.Object
  org.linkedin.glu.agent.impl.script.FutureExecutionImpl

abstract class FutureExecutionImpl

Authors:
ypujante@linkedin.com


Property Summary
java.lang.Object cancelCallback

The callback to call on cancel

long completionTime

when the execution completes

long futureExecutionTime

when the execution should start (0 means start now)

java.lang.String id

Unique id of the execution

int queueId

id in the queue

long startTime

when the execution started

 
Constructor Summary
FutureExecutionImpl()

 
Method Summary
boolean cancel(boolean mayInterruptIfRunning)

int compareTo(FutureExecutionImpl o)

java.lang.Object execute()

java.lang.Object get()

java.lang.Object get(long l, java.util.concurrent.TimeUnit timeUnit)

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

boolean isCancelled()

boolean isDone()

void run()

java.lang.String toString()

 
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()
 

Property Detail

cancelCallback

java.lang.Object cancelCallback
The callback to call on cancel


completionTime

long completionTime
when the execution completes


futureExecutionTime

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


id

final java.lang.String id
Unique id of the execution


queueId

int queueId
id in the queue


startTime

long startTime
when the execution started


 
Constructor Detail

FutureExecutionImpl

FutureExecutionImpl()


 
Method Detail

cancel

boolean cancel(boolean mayInterruptIfRunning)


compareTo

int compareTo(FutureExecutionImpl o)


execute

java.lang.Object execute()


get

java.lang.Object get()


get

java.lang.Object get(long l, java.util.concurrent.TimeUnit timeUnit)


get

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


isCancelled

boolean isCancelled()


isDone

boolean isDone()


run

void run()


toString

java.lang.String toString()


 

Groovy Documentation