Tabnine Logo
SafeFutureImpl$Sync
Code IndexAdd Tabnine to your IDE (free)

How to use
SafeFutureImpl$Sync
in
org.glassfish.grizzly.impl

Best Java code snippets using org.glassfish.grizzly.impl.SafeFutureImpl$Sync (Showing top 20 results out of 315)

origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get(long timeout, TimeUnit unit)
    throws InterruptedException, ExecutionException, TimeoutException {
  return sync.innerGet(unit.toNanos(timeout));
}
origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get() throws InterruptedException, ExecutionException {
  return sync.innerGet();
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get(long timeout, TimeUnit unit)
    throws InterruptedException, ExecutionException, TimeoutException {
  return sync.innerGet(unit.toNanos(timeout));
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get() throws InterruptedException, ExecutionException {
  return sync.innerGet();
}
origin: org.glassfish.grizzly/grizzly-http-server-core

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

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

/**
 * {@inheritDoc}
 */
@Override
public boolean isCancelled() {
  return sync.innerIsCancelled();
}
origin: org.mule.glassfish.grizzly/grizzly-framework

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

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get(long timeout, TimeUnit unit)
    throws InterruptedException, ExecutionException, TimeoutException {
  return sync.innerGet(unit.toNanos(timeout));
}
origin: javaee/grizzly

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get(long timeout, TimeUnit unit)
    throws InterruptedException, ExecutionException, TimeoutException {
  return sync.innerGet(unit.toNanos(timeout));
}
origin: javaee/grizzly

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get(long timeout, TimeUnit unit)
    throws InterruptedException, ExecutionException, TimeoutException {
  return sync.innerGet(unit.toNanos(timeout));
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * @throws CancellationException {@inheritDoc}
 */
@Override
public R get() throws InterruptedException, ExecutionException {
  return sync.innerGet();
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * {@inheritDoc}
 */
@Override
public boolean isCancelled() {
  return sync.innerIsCancelled();
}
origin: javaee/grizzly

/**
 * Set the result value and notify about operation completion.
 *
 * @param result the result value
 */
@Override
public void result(R result) {
  sync.innerSet(result);
}
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) {
  sync.innerSet(result);
}
origin: javaee/grizzly

/**
 * Notify about the failure, occurred during asynchronous operation execution.
 *
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  sync.innerSetException(failure);
}
origin: javaee/grizzly

/**
 * Notify about the failure, occurred during asynchronous operation execution.
 *
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  sync.innerSetException(failure);
}
origin: javaee/grizzly

/**
 * Notify about the failure, occurred during asynchronous operation execution.
 *
 * @param failure
 */
@Override
public void failure(Throwable failure) {
  sync.innerSetException(failure);
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean isCancelled() {
  return sync.innerIsCancelled();
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
  return sync.innerCancel(mayInterruptIfRunning);
}
org.glassfish.grizzly.implSafeFutureImpl$Sync

Most used methods

  • <init>
  • innerCancel
  • innerGet
  • innerIsCancelled
  • innerSet
  • innerSetException

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top plugins for Android Studio
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