public class GridCachePartitionExchangeManager<K,V> extends GridCacheSharedManagerAdapter<K,V>
| Modifier and Type | Field and Description |
|---|---|
static int |
EXCH_FUT_CLEANUP_HISTORY_SIZE
Cleanup history size.
|
cctx, log| Constructor and Description |
|---|
GridCachePartitionExchangeManager() |
context, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStop, printMemoryStats, start, startInfo, stop, stopInfo, toStringpublic static final int EXCH_FUT_CLEANUP_HISTORY_SIZE
protected void start0()
throws IgniteCheckedException
start0 in class GridCacheSharedManagerAdapter<K,V>IgniteCheckedException - If failed.public IgniteInternalFuture<?> reconnectExchangeFuture()
protected void onKernalStart0(boolean reconnect)
throws IgniteCheckedException
onKernalStart0 in class GridCacheSharedManagerAdapter<K,V>reconnect - True if manager restarted after client reconnect.IgniteCheckedException - If failed.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheSharedManagerAdapter<K,V>cancel - Cancel flag.protected void stop0(boolean cancel)
stop0 in class GridCacheSharedManagerAdapter<K,V>cancel - Cancel flag.public GridDhtPartitionTopology clientTopology(int cacheId, GridDhtPartitionsExchangeFuture exchFut)
cacheId - Cache ID.exchFut - Exchange future.public Collection<GridClientPartitionTopology> clientTopologies()
public GridClientPartitionTopology clearClientTopology(int cacheId)
cacheId - Cache ID.public AffinityTopologyVersion topologyVersion()
public AffinityTopologyVersion readyAffinityVersion()
public GridDhtTopologyFuture lastTopologyFuture()
@Nullable public IgniteInternalFuture<?> affinityReadyFuture(AffinityTopologyVersion ver)
ver - Topology version.null is future is already completed.public List<GridDhtPartitionsExchangeFuture> exchangeFutures()
public boolean hasPendingExchange()
True if pending future queue is empty.public boolean topologyChanged()
True if topology has changed.public void forceDummyExchange(boolean reassign,
GridDhtPartitionsExchangeFuture exchFut)
exchFut - Exchange future.reassign - Dummy reassign flag.public void forcePreloadExchange(GridDhtPartitionsExchangeFuture exchFut)
exchFut - Exchange future.public void scheduleResendPartitions()
public void onExchangeDone(GridDhtPartitionsExchangeFuture exchFut, @Nullable Throwable err)
exchFut - Exchange.err - Error.public void dumpDebugInfo()
public void dumpPendingObjects()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015