protected abstract class CacheDistributedGetFutureAdapter.AbstractMiniFuture extends GridFutureAdapter<Map<K,V>>
| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashMap<KeyCacheObject,Boolean> |
keys
Mapped keys.
|
protected ClusterNode |
node
Mapped node.
|
protected AffinityTopologyVersion |
topVer
Topology version on which this future was mapped.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMiniFuture(ClusterNode node,
LinkedHashMap<KeyCacheObject,Boolean> keys,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
GridNearGetRequest |
createGetRequest(IgniteUuid rootFutId)
Factory methond for generate request associated with this miniFuture.
|
protected abstract GridNearGetRequest |
createGetRequest0(IgniteUuid rootFutId,
IgniteUuid futId) |
protected abstract Map<K,V> |
createResultMap(Collection<GridCacheEntryInfo> entries) |
IgniteUuid |
futureId() |
Collection<KeyCacheObject> |
keys() |
ClusterNode |
node() |
void |
onNodeLeft(ClusterTopologyCheckedException e) |
void |
onResult(GridNearGetResponse res) |
void |
onResult(Throwable e) |
protected void |
postProcessResult(GridNearGetResponse res) |
String |
toString() |
cancel, chain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, resultprotected final ClusterNode node
@GridToStringInclude protected final LinkedHashMap<KeyCacheObject,Boolean> keys
protected final AffinityTopologyVersion topVer
protected AbstractMiniFuture(ClusterNode node, LinkedHashMap<KeyCacheObject,Boolean> keys, AffinityTopologyVersion topVer)
node - Node.keys - Keys.topVer - Topology version.public IgniteUuid futureId()
public ClusterNode node()
public Collection<KeyCacheObject> keys()
public GridNearGetRequest createGetRequest(IgniteUuid rootFutId)
rootFutId - Root future id.protected abstract GridNearGetRequest createGetRequest0(IgniteUuid rootFutId, IgniteUuid futId)
rootFutId - Root future id.futId - Mini future id.protected abstract Map<K,V> createResultMap(Collection<GridCacheEntryInfo> entries)
entries - Collection of entries.public void onResult(Throwable e)
e - Error.public void onNodeLeft(ClusterTopologyCheckedException e)
e - Failure exception.public void onResult(GridNearGetResponse res)
res - Result callback.protected void postProcessResult(GridNearGetResponse res)
res - Response.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023