Groovy Documentation

org.grails.plugin.platform.events
[Java] Class EventReply

java.lang.Object
  org.grails.plugin.platform.events.EventReply
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.Future

public class EventReply

file:
@date 30/12/11
section:
DESCRIPTION

[Does stuff]

Authors:
Stephane Maldini
Version:
1.0


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

futureReply

private java.util.concurrent.Future futureReply


futureReplyLoaded

private boolean futureReplyLoaded


onError

private groovy.lang.Closure onError


receivers

private int receivers


value

private java.lang.Object value


values

private java.util.List values


 
Constructor Detail

EventReply

public EventReply(java.lang.Object val, int receivers)


EventReply

public EventReply(java.util.concurrent.Future future, int receivers)


 
Method Detail

addValue

protected void addValue(java.lang.Object v)


cancel

public boolean cancel()


cancel

public boolean cancel(boolean b)


get

public java.lang.Object get()


get

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


getErrors

public java.util.List getErrors()


getOnError

public groovy.lang.Closure getOnError()


getValue

public java.lang.Object getValue()


getValues

public java.util.List getValues()


hasErrors

public boolean hasErrors()


initValues

@SuppressWarnings("unchecked")
protected void initValues(java.lang.Object val)


isCancelled

public boolean isCancelled()


isDone

public boolean isDone()


isSuccess

public boolean isSuccess()


setOnError

public void setOnError(groovy.lang.Closure onError)


setReceivers

protected void setReceivers(int receivers)


size

public int size()


throwError

public void throwError()


waitFor

public EventReply waitFor()


waitFor

public EventReply waitFor(long l)


 

Groovy Documentation