Class IgniteClusterDelegate
java.lang.Object
org.gridgain.ignite.migrationtools.adapter.internal.ignite2.proxies.ClusterGroupDelegate
org.gridgain.ignite.migrationtools.adapter.internal.ignite2.proxies.IgniteClusterDelegate
- All Implemented Interfaces:
org.apache.ignite.cluster.ClusterGroup,org.apache.ignite.IgniteCluster,org.apache.ignite.lang.IgniteAsyncSupport
public class IgniteClusterDelegate
extends ClusterGroupDelegate
implements org.apache.ignite.IgniteCluster
Static delegate that exposes an
IgniteClusterProxy as IgniteCluster.
Extends ClusterGroupDelegate to reuse the ClusterGroup method implementations.-
Field Summary
Fields inherited from interface org.apache.ignite.IgniteCluster
MAX_TAG_LENGTH -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()voidactive(boolean active) voidbaselineAutoAdjustEnabled(boolean enabled) org.apache.ignite.internal.processors.cluster.baseline.autoadjust.BaselineAutoAdjustStatuslongvoidbaselineAutoAdjustTimeout(long timeout) voidvoidclearStatistics(Collection<String> caches) org.apache.ignite.lang.IgniteFuture<?>Collection<org.apache.ignite.cluster.BaselineNode>booleandisableWal(String cacheName) voidenableStatistics(Collection<String> caches, boolean enabled) booleanorg.apache.ignite.cluster.ClusterGroupforLocal()<R> org.apache.ignite.lang.IgniteFuture<R>future()id()voidbooleanisAsync()booleanbooleanisWalEnabled(String cacheName) org.apache.ignite.cluster.ClusterNode<K,V> ConcurrentMap<K, V> booleanvoidvoidvoidrestartNodes(Collection<UUID> ids) voidsetBaselineTopology(long topVer) voidsetBaselineTopology(Collection<? extends org.apache.ignite.cluster.BaselineNode> baselineTop) voidsetTxTimeoutOnPartitionMapExchange(long timeout) org.apache.ignite.ShutdownPolicyvoidshutdownPolicy(org.apache.ignite.ShutdownPolicy policy) Collection<org.apache.ignite.cluster.ClusterStartNodeResult>startNodes(File file, boolean restart, int timeout, int maxConn) Collection<org.apache.ignite.cluster.ClusterStartNodeResult>startNodes(Collection<Map<String, Object>> hosts, Map<String, Object> dflts, boolean restart, int timeout, int maxConn) org.apache.ignite.lang.IgniteFuture<Collection<org.apache.ignite.cluster.ClusterStartNodeResult>>startNodesAsync(File file, boolean restart, int timeout, int maxConn) org.apache.ignite.lang.IgniteFuture<Collection<org.apache.ignite.cluster.ClusterStartNodeResult>>startNodesAsync(Collection<Map<String, Object>> hosts, Map<String, Object> dflts, boolean restart, int timeout, int maxConn) org.apache.ignite.cluster.ClusterStatestate()voidstate(org.apache.ignite.cluster.ClusterState state) voidvoidstopNodes(Collection<UUID> ids) tag()voidCollection<org.apache.ignite.cluster.ClusterNode>topology(long topVer) longorg.apache.ignite.IgniteClusterMethods inherited from class org.gridgain.ignite.migrationtools.adapter.internal.ignite2.proxies.ClusterGroupDelegate
forAttribute, forCacheNodes, forClientNodes, forClients, forDaemons, forDataNodes, forHost, forHost, forNode, forNodeId, forNodeIds, forNodes, forOldest, forOthers, forOthers, forPredicate, forRandom, forRemotes, forServers, forYoungest, hostNames, ignite, metrics, node, node, nodes, predicateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ignite.cluster.ClusterGroup
forAttribute, forCacheNodes, forClientNodes, forClients, forDaemons, forDataNodes, forHost, forHost, forNode, forNodeId, forNodeIds, forNodes, forOldest, forOthers, forOthers, forPredicate, forRandom, forRemotes, forServers, forYoungest, hostNames, ignite, metrics, node, node, nodes, predicate
-
Method Details
-
localNode
public org.apache.ignite.cluster.ClusterNode localNode()- Specified by:
localNodein interfaceorg.apache.ignite.IgniteCluster
-
forLocal
public org.apache.ignite.cluster.ClusterGroup forLocal()- Specified by:
forLocalin interfaceorg.apache.ignite.IgniteCluster
-
nodeLocalMap
- Specified by:
nodeLocalMapin interfaceorg.apache.ignite.IgniteCluster
-
pingNode
- Specified by:
pingNodein interfaceorg.apache.ignite.IgniteCluster
-
topologyVersion
public long topologyVersion()- Specified by:
topologyVersionin interfaceorg.apache.ignite.IgniteCluster
-
topology
public Collection<org.apache.ignite.cluster.ClusterNode> topology(long topVer) throws UnsupportedOperationException - Specified by:
topologyin interfaceorg.apache.ignite.IgniteCluster- Throws:
UnsupportedOperationException
-
startNodes
public Collection<org.apache.ignite.cluster.ClusterStartNodeResult> startNodes(File file, boolean restart, int timeout, int maxConn) throws org.apache.ignite.IgniteException - Specified by:
startNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
startNodes
public Collection<org.apache.ignite.cluster.ClusterStartNodeResult> startNodes(Collection<Map<String, Object>> hosts, Map<String, throws org.apache.ignite.IgniteExceptionObject> dflts, boolean restart, int timeout, int maxConn) - Specified by:
startNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
startNodesAsync
public org.apache.ignite.lang.IgniteFuture<Collection<org.apache.ignite.cluster.ClusterStartNodeResult>> startNodesAsync(File file, boolean restart, int timeout, int maxConn) throws org.apache.ignite.IgniteException - Specified by:
startNodesAsyncin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
startNodesAsync
public org.apache.ignite.lang.IgniteFuture<Collection<org.apache.ignite.cluster.ClusterStartNodeResult>> startNodesAsync(Collection<Map<String, Object>> hosts, Map<String, throws org.apache.ignite.IgniteExceptionObject> dflts, boolean restart, int timeout, int maxConn) - Specified by:
startNodesAsyncin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
stopNodes
public void stopNodes() throws org.apache.ignite.IgniteException- Specified by:
stopNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
stopNodes
- Specified by:
stopNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
restartNodes
public void restartNodes() throws org.apache.ignite.IgniteException- Specified by:
restartNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
restartNodes
- Specified by:
restartNodesin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
resetMetrics
public void resetMetrics()- Specified by:
resetMetricsin interfaceorg.apache.ignite.IgniteCluster
-
enableStatistics
- Specified by:
enableStatisticsin interfaceorg.apache.ignite.IgniteCluster
-
clearStatistics
- Specified by:
clearStatisticsin interfaceorg.apache.ignite.IgniteCluster
-
setTxTimeoutOnPartitionMapExchange
public void setTxTimeoutOnPartitionMapExchange(long timeout) - Specified by:
setTxTimeoutOnPartitionMapExchangein interfaceorg.apache.ignite.IgniteCluster
-
clientReconnectFuture
public org.apache.ignite.lang.IgniteFuture<?> clientReconnectFuture()- Specified by:
clientReconnectFuturein interfaceorg.apache.ignite.IgniteCluster
-
active
public boolean active()- Specified by:
activein interfaceorg.apache.ignite.IgniteCluster
-
active
public void active(boolean active) - Specified by:
activein interfaceorg.apache.ignite.IgniteCluster
-
state
public org.apache.ignite.cluster.ClusterState state()- Specified by:
statein interfaceorg.apache.ignite.IgniteCluster
-
state
public void state(org.apache.ignite.cluster.ClusterState state) throws org.apache.ignite.IgniteException - Specified by:
statein interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
currentBaselineTopology
- Specified by:
currentBaselineTopologyin interfaceorg.apache.ignite.IgniteCluster
-
setBaselineTopology
public void setBaselineTopology(Collection<? extends org.apache.ignite.cluster.BaselineNode> baselineTop) - Specified by:
setBaselineTopologyin interfaceorg.apache.ignite.IgniteCluster
-
setBaselineTopology
public void setBaselineTopology(long topVer) - Specified by:
setBaselineTopologyin interfaceorg.apache.ignite.IgniteCluster
-
withAsync
public org.apache.ignite.IgniteCluster withAsync()- Specified by:
withAsyncin interfaceorg.apache.ignite.lang.IgniteAsyncSupport- Specified by:
withAsyncin interfaceorg.apache.ignite.IgniteCluster
-
isAsync
public boolean isAsync()- Specified by:
isAsyncin interfaceorg.apache.ignite.lang.IgniteAsyncSupport
-
future
public <R> org.apache.ignite.lang.IgniteFuture<R> future()- Specified by:
futurein interfaceorg.apache.ignite.lang.IgniteAsyncSupport
-
disableWal
- Specified by:
disableWalin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
enableWal
- Specified by:
enableWalin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
isWalEnabled
- Specified by:
isWalEnabledin interfaceorg.apache.ignite.IgniteCluster
-
checkpoint
public void checkpoint() throws org.apache.ignite.IgniteException- Specified by:
checkpointin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
id
- Specified by:
idin interfaceorg.apache.ignite.IgniteCluster
-
id
- Specified by:
idin interfaceorg.apache.ignite.IgniteCluster
-
tag
- Specified by:
tagin interfaceorg.apache.ignite.IgniteCluster
-
tag
- Specified by:
tagin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteCheckedException
-
isBaselineAutoAdjustEnabled
public boolean isBaselineAutoAdjustEnabled()- Specified by:
isBaselineAutoAdjustEnabledin interfaceorg.apache.ignite.IgniteCluster
-
baselineAutoAdjustEnabled
public void baselineAutoAdjustEnabled(boolean enabled) throws org.apache.ignite.IgniteException - Specified by:
baselineAutoAdjustEnabledin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
baselineAutoAdjustTimeout
public long baselineAutoAdjustTimeout()- Specified by:
baselineAutoAdjustTimeoutin interfaceorg.apache.ignite.IgniteCluster
-
baselineAutoAdjustTimeout
public void baselineAutoAdjustTimeout(long timeout) throws org.apache.ignite.IgniteException - Specified by:
baselineAutoAdjustTimeoutin interfaceorg.apache.ignite.IgniteCluster- Throws:
org.apache.ignite.IgniteException
-
baselineAutoAdjustStatus
public org.apache.ignite.internal.processors.cluster.baseline.autoadjust.BaselineAutoAdjustStatus baselineAutoAdjustStatus()- Specified by:
baselineAutoAdjustStatusin interfaceorg.apache.ignite.IgniteCluster
-
shutdownPolicy
public org.apache.ignite.ShutdownPolicy shutdownPolicy()- Specified by:
shutdownPolicyin interfaceorg.apache.ignite.IgniteCluster
-
shutdownPolicy
public void shutdownPolicy(org.apache.ignite.ShutdownPolicy policy) - Specified by:
shutdownPolicyin interfaceorg.apache.ignite.IgniteCluster
-