|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.grails.plugin.platform.events.EventReply
public class EventReply
Field Summary | |
---|---|
private java.util.concurrent.Future |
futureReply
|
private boolean |
futureReplyLoaded
|
private groovy.lang.Closure |
onError
|
private int |
receivers
|
private java.lang.Object |
value
|
private java.util.List |
values
|
Constructor Summary | |
EventReply(java.lang.Object val, int receivers)
|
|
EventReply(java.util.concurrent.Future future, int receivers)
|
Method Summary | |
---|---|
protected void
|
addValue(java.lang.Object v)
|
boolean
|
cancel()
|
boolean
|
cancel(boolean b)
|
java.lang.Object
|
get()
|
java.lang.Object
|
get(long l, java.util.concurrent.TimeUnit timeUnit)
|
java.util.List
|
getErrors()
|
groovy.lang.Closure
|
getOnError()
|
java.lang.Object
|
getValue()
|
java.util.List
|
getValues()
|
boolean
|
hasErrors()
|
protected void
|
initValues(java.lang.Object val)
|
boolean
|
isCancelled()
|
boolean
|
isDone()
|
boolean
|
isSuccess()
|
void
|
setOnError(groovy.lang.Closure onError)
|
protected void
|
setReceivers(int receivers)
|
int
|
size()
|
void
|
throwError()
|
EventReply
|
waitFor()
|
EventReply
|
waitFor(long l)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Field Detail |
---|
private java.util.concurrent.Future futureReply
private boolean futureReplyLoaded
private groovy.lang.Closure onError
private int receivers
private java.lang.Object value
private java.util.List values
Constructor Detail |
---|
public EventReply(java.lang.Object val, int receivers)
public EventReply(java.util.concurrent.Future future, int receivers)
Method Detail |
---|
protected void addValue(java.lang.Object v)
public boolean cancel()
public boolean cancel(boolean b)
public java.lang.Object get()
public java.lang.Object get(long l, java.util.concurrent.TimeUnit timeUnit)
public java.util.List getErrors()
public groovy.lang.Closure getOnError()
public java.lang.Object getValue()
public java.util.List getValues()
public boolean hasErrors()
@SuppressWarnings("unchecked") protected void initValues(java.lang.Object val)
public boolean isCancelled()
public boolean isDone()
public boolean isSuccess()
public void setOnError(groovy.lang.Closure onError)
protected void setReceivers(int receivers)
public int size()
public void throwError()
public EventReply waitFor()
public EventReply waitFor(long l)
Groovy Documentation