public class GridCachePartitionExchangeManager<K,V> extends GridCacheSharedManagerAdapter<K,V>
cctx, log| Constructor and Description |
|---|
GridCachePartitionExchangeManager() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridClientPartitionTopology<K,V>> |
clientTopologies() |
GridDhtPartitionTopology<K,V> |
clientTopology(int cacheId,
GridDhtPartitionExchangeId exchId) |
List<IgniteInternalFuture<?>> |
exchangeFutures() |
void |
forceDummyExchange(boolean reassign,
GridDhtPartitionsExchangeFuture<K,V> exchFut) |
void |
forcePreloadExchange(GridDhtPartitionsExchangeFuture<K,V> exchFut)
Forces preload exchange.
|
boolean |
hasPendingExchange() |
GridDhtTopologyFuture |
lastTopologyFuture() |
void |
onExchangeDone(GridDhtPartitionsExchangeFuture<K,V> 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<K,V> clientTopology(int cacheId, GridDhtPartitionExchangeId exchId)
cacheId - Cache ID.exchId - Exchange ID.public Collection<GridClientPartitionTopology<K,V>> 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<K,V> exchFut)
exchFut - Exchange future.reassign - Dummy reassign flag.public void forcePreloadExchange(GridDhtPartitionsExchangeFuture<K,V> exchFut)
exchFut - Exchange future.public void scheduleResendPartitions()
public void onExchangeDone(GridDhtPartitionsExchangeFuture<K,V> exchFut)
exchFut - Exchange.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015