org.infinispan.schematic.internal

## Class CacheSchematicDb.SchematicEntryProxyFuture

- java.lang.Object
- - org.infinispan.schematic.internal.CacheSchematicDb.SchematicEntryProxyFuture

- All Implemented Interfaces:
    Future<SchematicEntry>, NotifyingFuture<SchematicEntry>
  Enclosing class:
    CacheSchematicDb

      protected class CacheSchematicDb.SchematicEntryProxyFuture
      extends Object
      implements NotifyingFuture<SchematicEntry>

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `CacheSchematicDb.SchematicEntryProxyFuture(NotifyingFuture<SchematicEntry> original, String key, boolean isRemoved)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NotifyingFuture<SchematicEntry>` | `attachListener(FutureListener<SchematicEntry> listener)`
    `boolean` | `cancel(boolean mayInterruptIfRunning)`
    `SchematicEntry` | `get()`
    `SchematicEntry` | `get(long timeout, TimeUnit unit)`
    `boolean` | `isCancelled()`
    `boolean` | `isDone()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CacheSchematicDb.SchematicEntryProxyFuture

          protected CacheSchematicDb.SchematicEntryProxyFuture(NotifyingFuture<SchematicEntry> original,
                                                    String key,
                                                    boolean isRemoved)

  - ### Method Detail

    - #### attachListener

          public NotifyingFuture<SchematicEntry> attachListener(FutureListener<SchematicEntry> listener)

      Specified by:
        `attachListener` in interface `NotifyingFuture<SchematicEntry>`

    - #### cancel

          public boolean cancel(boolean mayInterruptIfRunning)

      Specified by:
        `cancel` in interface `Future<SchematicEntry>`

    - #### get

          public SchematicEntry get()
                             throws InterruptedException,
                                    ExecutionException

      Specified by:
        `get` in interface `Future<SchematicEntry>`
      Throws:
        `InterruptedException`
        `ExecutionException`

    - #### get

          public SchematicEntry get(long timeout,
                           TimeUnit unit)
                             throws InterruptedException,
                                    ExecutionException,
                                    TimeoutException

      Specified by:
        `get` in interface `Future<SchematicEntry>`
      Throws:
        `InterruptedException`
        `ExecutionException`
        `TimeoutException`

    - #### isCancelled

          public boolean isCancelled()

      Specified by:
        `isCancelled` in interface `Future<SchematicEntry>`

    - #### isDone

          public boolean isDone()

      Specified by:
        `isDone` in interface `Future<SchematicEntry>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.