|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.BroadcasterFuture<E>
public class BroadcasterFuture<E>
Simple Future that can be used when awaiting for a Broadcaster to finish
it's broadcast operations to AtmosphereHandler
| Constructor Summary | |
|---|---|
BroadcasterFuture(E msg)
|
|
BroadcasterFuture(Future<?> innerFuture,
E msg)
|
|
BroadcasterFuture(Future<?> innerFuture,
E msg,
int latchCount)
|
|
| Method Summary | |
|---|---|
boolean |
cancel(boolean b)
|
BroadcasterFuture<E> |
done()
Invoked when a Broadcaster completed it broadcast operation. |
E |
get()
|
E |
get(long l,
TimeUnit tu)
|
boolean |
isCancelled()
|
boolean |
isDone()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BroadcasterFuture(E msg)
public BroadcasterFuture(Future<?> innerFuture,
E msg)
public BroadcasterFuture(Future<?> innerFuture,
E msg,
int latchCount)
| Method Detail |
|---|
public boolean cancel(boolean b)
cancel in interface Futurepublic boolean isCancelled()
isCancelled in interface Futurepublic boolean isDone()
isDone in interface Futurepublic BroadcasterFuture<E> done()
Broadcaster completed it broadcast operation.
public E get()
throws InterruptedException,
ExecutionException
get in interface FutureInterruptedException
ExecutionException
public E get(long l,
TimeUnit tu)
throws InterruptedException,
ExecutionException,
TimeoutException
get in interface FutureInterruptedException
ExecutionException
TimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||