Package | Description |
---|---|
org.infinispan.client.hotrod | |
org.infinispan.client.hotrod.impl | |
org.infinispan.client.hotrod.impl.async | |
org.infinispan.commons.api | |
org.infinispan.commons.util.concurrent | |
org.infinispan.distexec | |
org.infinispan.util.concurrent |
Thread-safe containers and other concurrency-related utilities, designed to supplement JDK concurrency utilities
and containers.
|
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<Void> |
RemoteCache.putAllAsync(Map<? extends K,? extends V> data)
Synthetic operation.
|
NotifyingFuture<Void> |
RemoteCache.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit unit)
Synthetic operation.
|
NotifyingFuture<Void> |
RemoteCache.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Synthetic operation.
|
NotifyingFuture<Boolean> |
RemoteCache.removeWithVersionAsync(K key,
long version) |
NotifyingFuture<Boolean> |
RemoteCache.replaceWithVersionAsync(K key,
V newValue,
long version) |
NotifyingFuture<Boolean> |
RemoteCache.replaceWithVersionAsync(K key,
V newValue,
long version,
int lifespanSeconds) |
NotifyingFuture<Boolean> |
RemoteCache.replaceWithVersionAsync(K key,
V newValue,
long version,
int lifespanSeconds,
int maxIdleSeconds) |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<Void> |
RemoteCacheImpl.clearAsync() |
NotifyingFuture<V> |
RemoteCacheImpl.getAsync(K key) |
NotifyingFuture<Void> |
RemoteCacheSupport.putAllAsync(Map<? extends K,? extends V> data) |
NotifyingFuture<Void> |
RemoteCacheSupport.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit unit) |
NotifyingFuture<Void> |
RemoteCacheImpl.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
NotifyingFuture<V> |
RemoteCacheSupport.putAsync(K key,
V value) |
NotifyingFuture<V> |
RemoteCacheSupport.putAsync(K key,
V value,
long lifespan,
TimeUnit unit) |
NotifyingFuture<V> |
RemoteCacheImpl.putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
NotifyingFuture<V> |
RemoteCacheSupport.putIfAbsentAsync(K key,
V value) |
NotifyingFuture<V> |
RemoteCacheSupport.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit) |
NotifyingFuture<V> |
RemoteCacheImpl.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
NotifyingFuture<V> |
RemoteCacheImpl.removeAsync(Object key) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.removeAsync(Object key,
Object value) |
NotifyingFuture<Boolean> |
RemoteCacheImpl.removeWithVersionAsync(K key,
long version) |
NotifyingFuture<V> |
RemoteCacheSupport.replaceAsync(K key,
V value) |
NotifyingFuture<V> |
RemoteCacheSupport.replaceAsync(K key,
V value,
long lifespan,
TimeUnit unit) |
NotifyingFuture<V> |
RemoteCacheImpl.replaceAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.replaceAsync(K key,
V oldValue,
V newValue) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit unit) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.replaceWithVersionAsync(K key,
V newValue,
long version) |
NotifyingFuture<Boolean> |
RemoteCacheSupport.replaceWithVersionAsync(K key,
V newValue,
long version,
int lifespanSeconds) |
NotifyingFuture<Boolean> |
RemoteCacheImpl.replaceWithVersionAsync(K key,
V newValue,
long version,
int lifespanSeconds,
int maxIdleSeconds) |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<T> |
NotifyingFutureImpl.attachListener(FutureListener<T> futureListener) |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<Void> |
AsyncCache.clearAsync()
Asynchronous version of
#clear() . |
NotifyingFuture<V> |
AsyncCache.getAsync(K key)
Asynchronous version of
#get(Object) that allows user code to
retrieve the value associated with a key at a later stage, hence allowing
multiple parallel get requests to be sent. |
NotifyingFuture<Void> |
AsyncCache.putAllAsync(Map<? extends K,? extends V> data)
Asynchronous version of
#putAll(Map) . |
NotifyingFuture<Void> |
AsyncCache.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit unit)
Asynchronous version of
#putAll(Map, long, TimeUnit) . |
NotifyingFuture<Void> |
AsyncCache.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of
#putAll(Map, long, TimeUnit, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.putAsync(K key,
V value)
Asynchronous version of
#put(Object, Object) . |
NotifyingFuture<V> |
AsyncCache.putAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of
#put(Object, Object, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of
#put(Object, Object, long, TimeUnit, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.putIfAbsentAsync(K key,
V value)
Asynchronous version of
#putIfAbsent(Object, Object) . |
NotifyingFuture<V> |
AsyncCache.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of
#putIfAbsent(Object, Object, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of
#putIfAbsent(Object, Object, long, TimeUnit, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.removeAsync(Object key)
Asynchronous version of
#remove(Object) . |
NotifyingFuture<Boolean> |
AsyncCache.removeAsync(Object key,
Object value)
Asynchronous version of
#remove(Object, Object) . |
NotifyingFuture<V> |
AsyncCache.replaceAsync(K key,
V value)
Asynchronous version of
#replace(Object, Object) . |
NotifyingFuture<V> |
AsyncCache.replaceAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of
#replace(Object, Object, long, TimeUnit) . |
NotifyingFuture<V> |
AsyncCache.replaceAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of
#replace(Object, Object, long, TimeUnit, long, TimeUnit) . |
NotifyingFuture<Boolean> |
AsyncCache.replaceAsync(K key,
V oldValue,
V newValue)
Asynchronous version of
#replace(Object, Object, Object) . |
NotifyingFuture<Boolean> |
AsyncCache.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit unit)
Asynchronous version of
#replace(Object, Object, Object, long, TimeUnit) . |
NotifyingFuture<Boolean> |
AsyncCache.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of
#replace(Object, Object, Object, long, TimeUnit, long, TimeUnit) . |
Modifier and Type | Interface and Description |
---|---|
interface |
NotifyingNotifiableFuture<T>
An internal interface which adds the ability to inform the future of completion.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractInProcessNotifyingFuture<V>
An abstract NotifyingFuture that has "completed"
|
class |
AggregatingNotifyingFutureImpl<T>
For use with > 1 underlying network future
|
class |
BaseNotifyingFuture<T> |
class |
DeferredReturnFuture<V>
This is a notifying and notifiable future whose return value is not known
at construction time.
|
class |
NoOpFuture<E>
A future that doesn't do anything and simply returns a given return value.
|
class |
NotifyingFutureAdaptor<T>
Receives a
Future and exposes it as an NotifyingFuture . |
class |
NotifyingFutureImpl<T>
Constructs an instance of a
NotifyingFuture . |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<E> |
NoOpFuture.attachListener(FutureListener<E> eFutureListener) |
NotifyingFuture<T> |
NotifyingFuture.attachListener(FutureListener<T> listener)
Attaches a listener and returns the same future instance, to allow for 'building'.
|
NotifyingFuture<T> |
BaseNotifyingFuture.attachListener(FutureListener<T> objectFutureListener) |
NotifyingFuture<V> |
DeferredReturnFuture.attachListener(FutureListener<V> objectFutureListener) |
NotifyingFuture<V> |
AbstractInProcessNotifyingFuture.attachListener(FutureListener<V> futureListener) |
Modifier and Type | Field and Description |
---|---|
protected BlockingQueue<NotifyingFuture<V>> |
DistributedExecutionCompletionService.completionQueue |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<V> |
DistributedExecutionCompletionService.poll() |
NotifyingFuture<V> |
DistributedExecutionCompletionService.poll(long timeout,
TimeUnit unit) |
<T> NotifyingFuture<T> |
DefaultExecutorService.submit(Callable<T> task) |
<T> NotifyingFuture<T> |
DefaultExecutorService.submit(Runnable task,
T result) |
NotifyingFuture<V> |
DistributedExecutionCompletionService.take() |
Constructor and Description |
---|
DistributedExecutionCompletionService(DistributedExecutorService executor,
BlockingQueue<NotifyingFuture<V>> completionQueue)
Creates an ExecutorCompletionService using the supplied executor for base task execution and
the supplied queue as its completion queue.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NotifyingFuture<T>
Deprecated.
Use
NotifyingFuture instead |
Modifier and Type | Class and Description |
---|---|
class |
LegacyNotifyingFutureAdaptor<T>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<V> |
AbstractInProcessNotifyingFuture.attachListener(FutureListener<V> futureListener) |
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.