Tabnine Logo
UnsafeFutureImpl.notifyHaveResult
Code IndexAdd Tabnine to your IDE (free)

How to use
notifyHaveResult
method
in
org.glassfish.grizzly.impl.UnsafeFutureImpl

Best Java code snippets using org.glassfish.grizzly.impl.UnsafeFutureImpl.notifyHaveResult (Showing top 20 results out of 315)

origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
origin: javaee/grizzly

/**
 * Set the result value and notify about operation completion.
 * 
 * @param result the result value
 */
@Override
public void result(R result) {
  this.result = result;
  notifyHaveResult();
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * Set the result value and notify about operation completion.
 * 
 * @param result the result value
 */
@Override
public void result(R result) {
  this.result = result;
  notifyHaveResult();
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * Set the result value and notify about operation completion.
 * 
 * @param result the result value
 */
@Override
public void result(R result) {
  this.result = result;
  notifyHaveResult();
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
origin: javaee/grizzly

/**
 * Set the result value and notify about operation completion.
 * 
 * @param result the result value
 */
@Override
public void result(R result) {
  this.result = result;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * Notify about the failure, occured during asynchronous operation execution.
 * 
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  this.failure = failure;
  notifyHaveResult();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  isCancelled = true;
  notifyHaveResult();
  return true;
}
org.glassfish.grizzly.implUnsafeFutureImplnotifyHaveResult

Javadoc

Notify blocked listeners threads about operation completion.

Popular methods of UnsafeFutureImpl

  • <init>
  • create
    Construct Future.
  • get
  • notifyCompletionHandler
    Notify single CompletionHandler about the result.
  • notifyCompletionHandlers
    Notify registered CompletionHandlers about the result.
  • recycle
  • reset

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Best plugins for Eclipse
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