org.infinispan.util.concurrent
Class AbstractInProcessNotifyingFuture<V>
java.lang.Object
org.infinispan.util.concurrent.AbstractInProcessFuture<V>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInProcessNotifyingFuture
public AbstractInProcessNotifyingFuture()
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.