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() |
| Modifier and Type | Method and Description |
|---|---|
GridClientPartitionTopology |
clearClientTopology(int cacheId) |
Collection<GridClientPartitionTopology> |
clientTopologies() |
GridDhtPartitionTopology |
clientTopology(int cacheId,
GridDhtPartitionsExchangeFuture exchFut) |
List<IgniteInternalFuture<?>> |
exchangeFutures() |
void |
forceDummyExchange(boolean reassign,
GridDhtPartitionsExchangeFuture exchFut) |
void |
forcePreloadExchange(GridDhtPartitionsExchangeFuture exchFut)
Forces preload exchange.
|
boolean |
hasPendingExchange() |
GridDhtTopologyFuture |
lastTopologyFuture() |
void |
onExchangeDone(GridDhtPartitionsExchangeFuture exchFut,
Throwable err) |
protected void |
onKernalStart0() |
protected void |
onKernalStop0(boolean cancel) |
void |
scheduleResendPartitions()
Schedules next full partitions update.
|
protected void |
start0() |
protected void |
stop0(boolean cancel) |
boolean |
topologyChanged() |
AffinityTopologyVersion |
topologyVersion()
Gets topology version of last completed partition exchange.
|
context, kernalStartInfo, kernalStopInfo, log, 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.protected void onKernalStart0()
throws IgniteCheckedException
onKernalStart0 in class GridCacheSharedManagerAdapter<K,V>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 GridDhtTopologyFuture lastTopologyFuture()
public List<IgniteInternalFuture<?>> 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, Throwable err)
exchFut - Exchange.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015