org.infinispan.util.concurrent
Class AbstractInProcessNotifyingFuture<V>

java.lang.Object
  extended by org.infinispan.util.concurrent.AbstractInProcessFuture<V>
      extended by org.infinispan.util.concurrent.AbstractInProcessNotifyingFuture<V>
All Implemented Interfaces:
Future<V>, NotifyingFuture<V>

public abstract class AbstractInProcessNotifyingFuture<V>
extends AbstractInProcessFuture<V>
implements NotifyingFuture<V>

An abstract NotifyingFuture that has "completed"

Version:
4.1
Author:
Manik Surtani

Constructor Summary
AbstractInProcessNotifyingFuture()
           
 
Method Summary
 NotifyingFuture<V> attachListener(FutureListener<V> futureListener)
          Attaches a listener and returns the same future instance, to allow for 'building'.
 
Methods inherited from class org.infinispan.util.concurrent.AbstractInProcessFuture
cancel, get, isCancelled, isDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Constructor Detail

AbstractInProcessNotifyingFuture

public AbstractInProcessNotifyingFuture()
Method Detail

attachListener

public NotifyingFuture<V> attachListener(FutureListener<V> futureListener)
Description copied from interface: NotifyingFuture
Attaches a listener and returns the same future instance, to allow for 'building'.

Specified by:
attachListener in interface NotifyingFuture<V>
Parameters:
futureListener - listener to attach
Returns:
the same future instance

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.