@Deprecated public interface IgniteAsyncSupport
IgniteFuture f = cache.getAsync();instead of old-style async API:
IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future();
Modifier and Type | Method and Description |
---|---|
<R> IgniteFuture<R> |
future()
Deprecated.
since 2.0. Please use new specialized async method
e.g.
IgniteFuture f = cache.getAsync();instead of old-style async API: IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future(); |
boolean |
isAsync()
Deprecated.
since 2.0. Please use new specialized async method
e.g.
IgniteFuture f = cache.getAsync();instead of old-style async API: IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future(); |
IgniteAsyncSupport |
withAsync()
Deprecated.
since 2.0. Please use new specialized async method
e.g.
IgniteFuture f = cache.getAsync();instead of old-style async API: IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future(); |
@Deprecated IgniteAsyncSupport withAsync()
IgniteFuture f = cache.getAsync();instead of old-style async API:
IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future();
@Deprecated boolean isAsync()
IgniteFuture f = cache.getAsync();instead of old-style async API:
IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future();
True
if asynchronous mode is enabled.@Deprecated <R> IgniteFuture<R> future()
IgniteFuture f = cache.getAsync();instead of old-style async API:
IgniteCache asyncCache = cache.withAsync(); asyncCache.get(key); IgniteFuture fut = asyncCache.future();
R
- Type of the future result.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023