Class ClusterStateProvider
- java.lang.Object
-
- org.apache.ignite.spi.communication.tcp.internal.ClusterStateProvider
-
public class ClusterStateProvider extends Object
Deprecated.This class must be removed.The role of this is aggregate logic of cluster states.
-
-
Constructor Summary
Constructors Constructor Description ClusterStateProvider(Ignite ignite, Supplier<ClusterNode> locNodeSupplier, TcpCommunicationSpi tcpCommSpi, Supplier<Boolean> stoppedSupplier, Supplier<IgniteSpiContext> spiCtxWithoutLatchSupplier, IgniteLogger log, Supplier<Ignite> igniteExSupplier)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longclientFailureDetectionTimeout()Deprecated.Returns client failure detection timeout set to use for network related operations.SSLEnginecreateSSLEngine()Deprecated.voiddumpStats()Deprecated.Makes dump ofTcpCommunicationSpistats.intgetOutboundMessagesQueueSize()Deprecated.IgniteSpiContextgetSpiContext()Deprecated.IgniteSpiContextgetSpiContextWithoutInitialLatch()Deprecated.booleanisLocalNodeDisconnected()Deprecated.booleanisSslEnabled()Deprecated.booleanisStopping()Deprecated.NodeIdMessagenodeIdMessage()Deprecated.
-
-
-
Constructor Detail
-
ClusterStateProvider
public ClusterStateProvider(Ignite ignite, Supplier<ClusterNode> locNodeSupplier, TcpCommunicationSpi tcpCommSpi, Supplier<Boolean> stoppedSupplier, Supplier<IgniteSpiContext> spiCtxWithoutLatchSupplier, IgniteLogger log, Supplier<Ignite> igniteExSupplier)
Deprecated.- Parameters:
ignite- Ignite.locNodeSupplier- Local node supplier.tcpCommSpi- Tcp communication spi.stoppedSupplier- Stopped supplier.spiCtxWithoutLatchSupplier- Spi context without latchlog- Logger.igniteExSupplier- Returns already exists instance from spi.
-
-
Method Detail
-
isLocalNodeDisconnected
public boolean isLocalNodeDisconnected()
Deprecated.- Returns:
Trueif local node in disconnected state.
-
isSslEnabled
public boolean isSslEnabled()
Deprecated.- Returns:
Trueif ssl enabled.
-
createSSLEngine
public SSLEngine createSSLEngine()
Deprecated.- Returns:
SSLEnginefor ssl connections.
-
isStopping
public boolean isStopping()
Deprecated.- Returns:
trueifTcpCommunicationSpistopped.
-
clientFailureDetectionTimeout
public long clientFailureDetectionTimeout()
Deprecated.Returns client failure detection timeout set to use for network related operations.- Returns:
- client failure detection timeout in milliseconds or
0if the timeout is disabled.
-
getSpiContext
public IgniteSpiContext getSpiContext()
Deprecated.- Returns:
IgniteSpiContextofTcpCommunicationSpi.
-
getSpiContextWithoutInitialLatch
public IgniteSpiContext getSpiContextWithoutInitialLatch()
Deprecated.- Returns:
IgniteSpiContextofTcpCommunicationSpi.
-
getOutboundMessagesQueueSize
public int getOutboundMessagesQueueSize()
Deprecated.- Returns:
- Outbound messages queue size.
-
dumpStats
public void dumpStats()
Deprecated.Makes dump ofTcpCommunicationSpistats.
-
nodeIdMessage
public NodeIdMessage nodeIdMessage()
Deprecated.- Returns:
- Node ID message.
-
-