Class ConnectGateway
- java.lang.Object
-
- org.apache.ignite.spi.communication.tcp.internal.ConnectGateway
-
- All Implemented Interfaces:
Serializable
public class ConnectGateway extends Object implements Serializable
Lock and error control work flow.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectGateway()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisconnected(IgniteFuture<?> reconnectFut)voidenter()Enter to critical section.voidleave()Leave critical section.voidreconnected()Reset error.voidstopped()Add error to this class.booleantryEnter()
-
-
-
Method Detail
-
enter
public void enter()
Enter to critical section.
-
tryEnter
public boolean tryEnter()
- Returns:
Trueif entered gateway.
-
leave
public void leave()
Leave critical section.
-
disconnected
public void disconnected(IgniteFuture<?> reconnectFut)
- Parameters:
reconnectFut- Reconnect future.
-
reconnected
public void reconnected()
Reset error.
-
stopped
public void stopped()
Add error to this class.
-
-