All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jgroups.util.FutureListener Maven / Gradle / Ivy

Go to download

This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up with different versions on classes on the class path).

There is a newer version: 32.0.0.Final
Show newest version
package org.jgroups.util;

import java.util.concurrent.Future;

/**
 * A listener that is called back when a future is done.  FutureListener instances are attached to {@link
 * NotifyingFuture}s by passing them in to {@link NotifyingFuture#setListener(FutureListener)}
 * 

* Note that the {@link #futureDone(Future)} callback is invoked when the future completes, regardless of how the future * completes (i.e., normally, due to an exception, or cancelled}. As such, implementations should check the future * passed in by calling future.get(). * * @author Manik Surtani * @since 2.9 */ public interface FutureListener { void futureDone(Future future); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy