Class ActiveGrpcChannelChecker
java.lang.Object
org.axonframework.axonserver.connector.heartbeat.connection.checker.ActiveGrpcChannelChecker
- All Implemented Interfaces:
ConnectionSanityChecker
Deprecated.
in through use of the AxonServer java
connector
ConnectionSanityChecker implementation that verifies if the gRPC channel between client and Axon Server is
connected.- Since:
- 4.2.1
- Author:
- Sara Pellegrini
-
Constructor Summary
ConstructorsConstructorDescriptionActiveGrpcChannelChecker(AxonServerConnectionManager connectionManager, String context) Deprecated.Constructs anActiveGrpcChannelCheckerbased on the connection manager. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()Deprecated.Returns true if the connection is still alive, false otherwise.
-
Constructor Details
-
ActiveGrpcChannelChecker
Deprecated.Constructs anActiveGrpcChannelCheckerbased on the connection manager.- Parameters:
connectionManager- theAxonServerConnectionManagercontext- the (Bounded) Context for which is verified the AxonServer connection through the gRPC channel
-
-
Method Details
-
isValid
public boolean isValid()Deprecated.Returns true if the connection is still alive, false otherwise.Detects if exists a gRPC channel between the client an Axon Server.
- Specified by:
isValidin interfaceConnectionSanityChecker- Returns:
trueif the gRPC channel is opened, false otherwise
-