Tabnine Logo
AsyncFuture$Listener
Code IndexAdd Tabnine to your IDE (free)

How to use
AsyncFuture$Listener
in
org.jboss.threads

Best Java code snippets using org.jboss.threads.AsyncFuture$Listener (Showing top 7 results out of 315)

origin: wildfly/wildfly-core

@Override
public void handleComplete(AsyncFuture<? extends OperationResponse> future, A attachment) {
  listener.handleComplete(caller, attachment);
}
origin: wildfly/wildfly-core

  @Override
  public void handleCancelled(AsyncFuture<? extends OperationResponse> future, A attachment) {
    listener.handleCancelled(caller, attachment);
  }
};
origin: wildfly/wildfly-core

@Override
public void handleFailed(AsyncFuture<? extends OperationResponse> future, Throwable cause, A attachment) {
  listener.handleFailed(caller, cause, attachment);
}
origin: wildfly/wildfly-core

@Override
public <A> void addListener(Listener<? super T, A> listener, A attachment) {
  if (listener != null) {
    listener.handleComplete(this, attachment);
  }
}
origin: org.wildfly.core/wildfly-controller

@Override
public <A> void addListener(Listener<? super T, A> listener, A attachment) {
  if (listener != null) {
    listener.handleComplete(this, attachment);
  }
}
origin: org.wildfly/wildfly-controller

@Override
public <A> void addListener(Listener<? super T, A> listener, A attachment) {
  if(listener != null) {
    listener.handleComplete(this, attachment);
  }
}
origin: org.jboss.as/jboss-as-controller

@Override
public <A> void addListener(Listener<? super T, A> listener, A attachment) {
  if(listener != null) {
    listener.handleComplete(this, attachment);
  }
}
org.jboss.threadsAsyncFuture$Listener

Javadoc

A listener for an asynchronous future computation result. Each listener method is passed the AsyncFuture which it was added to, as well as the attachment which was passed in to AsyncFuture#addListener(Listener,Object).

Most used methods

  • handleComplete
    Handle a successful computation result.
  • handleCancelled
    Handle a cancellation result.
  • handleFailed
    Handle a failure result.

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now