public class GridCachePartitionExchangeManager<K,V> extends GridCacheSharedManagerAdapter<K,V>
cctx, log| Constructor and Description |
|---|
GridCachePartitionExchangeManager() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridClientPartitionTopology> |
clientTopologies() |
GridDhtPartitionTopology |
clientTopology(int cacheId,
GridDhtPartitionExchangeId exchId) |
List<IgniteInternalFuture<?>> |
exchangeFutures() |
void |
forceDummyExchange(boolean reassign,
GridDhtPartitionsExchangeFuture exchFut) |
void |
forcePreloadExchange(GridDhtPartitionsExchangeFuture exchFut)
Forces preload exchange.
|
boolean |
hasPendingExchange() |
GridDhtTopologyFuture |
lastTopologyFuture() |
void |
onExchangeDone(GridDhtPartitionsExchangeFuture exchFut) |
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() |
long |
topologyVersion()
Gets topology version of last completed partition exchange.
|
context, kernalStartInfo, kernalStopInfo, log, onKernalStart, onKernalStop, printMemoryStats, start, startInfo, stop, stopInfo, toStringprotected 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, GridDhtPartitionExchangeId exchId)
cacheId - Cache ID.exchId - Exchange ID.public Collection<GridClientPartitionTopology> clientTopologies()
public long 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)
exchFut - Exchange.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015