Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.util.concurrent
Class BaseNotifyingFuture<T>

java.lang.Object
  extended by org.infinispan.util.concurrent.BaseNotifyingFuture<T>
All Implemented Interfaces:
Future<T>, NotifyingFuture<T>
Direct Known Subclasses:
NotifyingFutureAdaptor, NotifyingFutureImpl

public abstract class BaseNotifyingFuture<T>
extends Object
implements NotifyingFuture<T>

Since:
5.2
Author:
Mircea Markus

Constructor Summary
BaseNotifyingFuture()
           
 
Method Summary
 NotifyingFuture<T> attachListener(FutureListener<T> objectFutureListener)
          Attaches a listener and returns the same future instance, to allow for 'building'.
 void notifyDone()
           
 
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

BaseNotifyingFuture

public BaseNotifyingFuture()
Method Detail

attachListener

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

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

notifyDone

public void notifyDone()

Infinispan Distribution 5.2.6.Final-redhat-2

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