Class IgniteClusterAdapter

java.lang.Object
org.gridgain.ignite.migrationtools.adapter.internal.IgniteClusterAdapter
All Implemented Interfaces:
org.apache.ignite.cluster.ClusterGroup, org.apache.ignite.IgniteCluster, org.apache.ignite.lang.IgniteAsyncSupport

public class IgniteClusterAdapter extends Object implements org.apache.ignite.IgniteCluster
IgniteClusterAdapter.
  • Constructor Details

    • IgniteClusterAdapter

      public IgniteClusterAdapter()
  • Method Details

    • localNode

      public org.apache.ignite.cluster.ClusterNode localNode()
      Specified by:
      localNode in interface org.apache.ignite.IgniteCluster
    • forLocal

      public org.apache.ignite.cluster.ClusterGroup forLocal()
      Specified by:
      forLocal in interface org.apache.ignite.IgniteCluster
    • nodeLocalMap

      public <K, V> ConcurrentMap<K,V> nodeLocalMap()
      Specified by:
      nodeLocalMap in interface org.apache.ignite.IgniteCluster
    • pingNode

      public boolean pingNode(UUID uuid)
      Specified by:
      pingNode in interface org.apache.ignite.IgniteCluster
    • topologyVersion

      public long topologyVersion()
      Specified by:
      topologyVersion in interface org.apache.ignite.IgniteCluster
    • topology

      public Collection<org.apache.ignite.cluster.ClusterNode> topology(long l) throws UnsupportedOperationException
      Specified by:
      topology in interface org.apache.ignite.IgniteCluster
      Throws:
      UnsupportedOperationException
    • startNodes

      public Collection<org.apache.ignite.cluster.ClusterStartNodeResult> startNodes(File file, boolean b, int i, int i1) throws org.apache.ignite.IgniteException
      Specified by:
      startNodes in interface org.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 b, int i, int i1) throws org.apache.ignite.IgniteException
      Specified by:
      startNodesAsync in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • startNodes

      public Collection<org.apache.ignite.cluster.ClusterStartNodeResult> startNodes(Collection<Map<String,Object>> collection, Map<String,Object> map, boolean b, int i, int i1) throws org.apache.ignite.IgniteException
      Specified by:
      startNodes in interface org.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>> collection, Map<String,Object> map, boolean b, int i, int i1) throws org.apache.ignite.IgniteException
      Specified by:
      startNodesAsync in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • stopNodes

      public void stopNodes() throws org.apache.ignite.IgniteException
      Specified by:
      stopNodes in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • stopNodes

      public void stopNodes(Collection<UUID> collection) throws org.apache.ignite.IgniteException
      Specified by:
      stopNodes in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • restartNodes

      public void restartNodes() throws org.apache.ignite.IgniteException
      Specified by:
      restartNodes in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • restartNodes

      public void restartNodes(Collection<UUID> collection) throws org.apache.ignite.IgniteException
      Specified by:
      restartNodes in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • resetMetrics

      public void resetMetrics()
      Specified by:
      resetMetrics in interface org.apache.ignite.IgniteCluster
    • enableStatistics

      public void enableStatistics(Collection<String> collection, boolean b)
      Specified by:
      enableStatistics in interface org.apache.ignite.IgniteCluster
    • clearStatistics

      public void clearStatistics(Collection<String> collection)
      Specified by:
      clearStatistics in interface org.apache.ignite.IgniteCluster
    • setTxTimeoutOnPartitionMapExchange

      public void setTxTimeoutOnPartitionMapExchange(long l)
      Specified by:
      setTxTimeoutOnPartitionMapExchange in interface org.apache.ignite.IgniteCluster
    • clientReconnectFuture

      public org.apache.ignite.lang.IgniteFuture<?> clientReconnectFuture()
      Specified by:
      clientReconnectFuture in interface org.apache.ignite.IgniteCluster
    • active

      public boolean active()
      Specified by:
      active in interface org.apache.ignite.IgniteCluster
    • active

      public void active(boolean b)
      Specified by:
      active in interface org.apache.ignite.IgniteCluster
    • state

      public org.apache.ignite.cluster.ClusterState state()
      Specified by:
      state in interface org.apache.ignite.IgniteCluster
    • state

      public void state(org.apache.ignite.cluster.ClusterState clusterState) throws org.apache.ignite.IgniteException
      Specified by:
      state in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • currentBaselineTopology

      public Collection<org.apache.ignite.cluster.BaselineNode> currentBaselineTopology()
      Specified by:
      currentBaselineTopology in interface org.apache.ignite.IgniteCluster
    • setBaselineTopology

      public void setBaselineTopology(Collection<? extends org.apache.ignite.cluster.BaselineNode> collection)
      Specified by:
      setBaselineTopology in interface org.apache.ignite.IgniteCluster
    • setBaselineTopology

      public void setBaselineTopology(long l)
      Specified by:
      setBaselineTopology in interface org.apache.ignite.IgniteCluster
    • withAsync

      public org.apache.ignite.IgniteCluster withAsync()
      Specified by:
      withAsync in interface org.apache.ignite.lang.IgniteAsyncSupport
      Specified by:
      withAsync in interface org.apache.ignite.IgniteCluster
    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in interface org.apache.ignite.lang.IgniteAsyncSupport
    • future

      public <R> org.apache.ignite.lang.IgniteFuture<R> future()
      Specified by:
      future in interface org.apache.ignite.lang.IgniteAsyncSupport
    • disableWal

      public boolean disableWal(String s) throws org.apache.ignite.IgniteException
      Specified by:
      disableWal in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • enableWal

      public boolean enableWal(String s) throws org.apache.ignite.IgniteException
      Specified by:
      enableWal in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • isWalEnabled

      public boolean isWalEnabled(String s)
      Specified by:
      isWalEnabled in interface org.apache.ignite.IgniteCluster
    • checkpoint

      public void checkpoint() throws org.apache.ignite.IgniteException
      Specified by:
      checkpoint in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • id

      public UUID id()
      Specified by:
      id in interface org.apache.ignite.IgniteCluster
    • id

      public void id(UUID uuid)
      Specified by:
      id in interface org.apache.ignite.IgniteCluster
    • tag

      public String tag()
      Specified by:
      tag in interface org.apache.ignite.IgniteCluster
    • tag

      public void tag(String s) throws org.apache.ignite.IgniteCheckedException
      Specified by:
      tag in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteCheckedException
    • isBaselineAutoAdjustEnabled

      public boolean isBaselineAutoAdjustEnabled()
      Specified by:
      isBaselineAutoAdjustEnabled in interface org.apache.ignite.IgniteCluster
    • baselineAutoAdjustEnabled

      public void baselineAutoAdjustEnabled(boolean b) throws org.apache.ignite.IgniteException
      Specified by:
      baselineAutoAdjustEnabled in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • baselineAutoAdjustTimeout

      public long baselineAutoAdjustTimeout()
      Specified by:
      baselineAutoAdjustTimeout in interface org.apache.ignite.IgniteCluster
    • baselineAutoAdjustTimeout

      public void baselineAutoAdjustTimeout(long l) throws org.apache.ignite.IgniteException
      Specified by:
      baselineAutoAdjustTimeout in interface org.apache.ignite.IgniteCluster
      Throws:
      org.apache.ignite.IgniteException
    • baselineAutoAdjustStatus

      public org.apache.ignite.internal.processors.cluster.baseline.autoadjust.BaselineAutoAdjustStatus baselineAutoAdjustStatus()
      Specified by:
      baselineAutoAdjustStatus in interface org.apache.ignite.IgniteCluster
    • shutdownPolicy

      public org.apache.ignite.ShutdownPolicy shutdownPolicy()
      Specified by:
      shutdownPolicy in interface org.apache.ignite.IgniteCluster
    • shutdownPolicy

      public void shutdownPolicy(org.apache.ignite.ShutdownPolicy shutdownPolicy)
      Specified by:
      shutdownPolicy in interface org.apache.ignite.IgniteCluster
    • ignite

      public org.apache.ignite.Ignite ignite()
      Specified by:
      ignite in interface org.apache.ignite.cluster.ClusterGroup
    • forNodes

      public org.apache.ignite.cluster.ClusterGroup forNodes(Collection<? extends org.apache.ignite.cluster.ClusterNode> collection)
      Specified by:
      forNodes in interface org.apache.ignite.cluster.ClusterGroup
    • forNode

      public org.apache.ignite.cluster.ClusterGroup forNode(org.apache.ignite.cluster.ClusterNode clusterNode, org.apache.ignite.cluster.ClusterNode... clusterNodes)
      Specified by:
      forNode in interface org.apache.ignite.cluster.ClusterGroup
    • forOthers

      public org.apache.ignite.cluster.ClusterGroup forOthers(org.apache.ignite.cluster.ClusterNode clusterNode, org.apache.ignite.cluster.ClusterNode... clusterNodes)
      Specified by:
      forOthers in interface org.apache.ignite.cluster.ClusterGroup
    • forOthers

      public org.apache.ignite.cluster.ClusterGroup forOthers(org.apache.ignite.cluster.ClusterGroup clusterGroup)
      Specified by:
      forOthers in interface org.apache.ignite.cluster.ClusterGroup
    • forNodeIds

      public org.apache.ignite.cluster.ClusterGroup forNodeIds(Collection<UUID> collection)
      Specified by:
      forNodeIds in interface org.apache.ignite.cluster.ClusterGroup
    • forNodeId

      public org.apache.ignite.cluster.ClusterGroup forNodeId(UUID uuid, UUID... uuids)
      Specified by:
      forNodeId in interface org.apache.ignite.cluster.ClusterGroup
    • forPredicate

      public org.apache.ignite.cluster.ClusterGroup forPredicate(org.apache.ignite.lang.IgnitePredicate<org.apache.ignite.cluster.ClusterNode> ignitePredicate)
      Specified by:
      forPredicate in interface org.apache.ignite.cluster.ClusterGroup
    • forAttribute

      public org.apache.ignite.cluster.ClusterGroup forAttribute(String s, Object o)
      Specified by:
      forAttribute in interface org.apache.ignite.cluster.ClusterGroup
    • forServers

      public org.apache.ignite.cluster.ClusterGroup forServers()
      Specified by:
      forServers in interface org.apache.ignite.cluster.ClusterGroup
    • forClients

      public org.apache.ignite.cluster.ClusterGroup forClients()
      Specified by:
      forClients in interface org.apache.ignite.cluster.ClusterGroup
    • forCacheNodes

      public org.apache.ignite.cluster.ClusterGroup forCacheNodes(String s)
      Specified by:
      forCacheNodes in interface org.apache.ignite.cluster.ClusterGroup
    • forDataNodes

      public org.apache.ignite.cluster.ClusterGroup forDataNodes(String s)
      Specified by:
      forDataNodes in interface org.apache.ignite.cluster.ClusterGroup
    • forClientNodes

      public org.apache.ignite.cluster.ClusterGroup forClientNodes(String s)
      Specified by:
      forClientNodes in interface org.apache.ignite.cluster.ClusterGroup
    • forRemotes

      public org.apache.ignite.cluster.ClusterGroup forRemotes()
      Specified by:
      forRemotes in interface org.apache.ignite.cluster.ClusterGroup
    • forHost

      public org.apache.ignite.cluster.ClusterGroup forHost(org.apache.ignite.cluster.ClusterNode clusterNode)
      Specified by:
      forHost in interface org.apache.ignite.cluster.ClusterGroup
    • forHost

      public org.apache.ignite.cluster.ClusterGroup forHost(String s, String... strings)
      Specified by:
      forHost in interface org.apache.ignite.cluster.ClusterGroup
    • forDaemons

      public org.apache.ignite.cluster.ClusterGroup forDaemons()
      Specified by:
      forDaemons in interface org.apache.ignite.cluster.ClusterGroup
    • forRandom

      public org.apache.ignite.cluster.ClusterGroup forRandom()
      Specified by:
      forRandom in interface org.apache.ignite.cluster.ClusterGroup
    • forOldest

      public org.apache.ignite.cluster.ClusterGroup forOldest()
      Specified by:
      forOldest in interface org.apache.ignite.cluster.ClusterGroup
    • forYoungest

      public org.apache.ignite.cluster.ClusterGroup forYoungest()
      Specified by:
      forYoungest in interface org.apache.ignite.cluster.ClusterGroup
    • nodes

      public Collection<org.apache.ignite.cluster.ClusterNode> nodes()
      Specified by:
      nodes in interface org.apache.ignite.cluster.ClusterGroup
    • node

      public org.apache.ignite.cluster.ClusterNode node(UUID uuid)
      Specified by:
      node in interface org.apache.ignite.cluster.ClusterGroup
    • node

      public org.apache.ignite.cluster.ClusterNode node()
      Specified by:
      node in interface org.apache.ignite.cluster.ClusterGroup
    • hostNames

      public Collection<String> hostNames()
      Specified by:
      hostNames in interface org.apache.ignite.cluster.ClusterGroup
    • predicate

      public org.apache.ignite.lang.IgnitePredicate<org.apache.ignite.cluster.ClusterNode> predicate()
      Specified by:
      predicate in interface org.apache.ignite.cluster.ClusterGroup
    • metrics

      public org.apache.ignite.cluster.ClusterMetrics metrics() throws org.apache.ignite.IgniteException
      Specified by:
      metrics in interface org.apache.ignite.cluster.ClusterGroup
      Throws:
      org.apache.ignite.IgniteException