@Deprecated public class ActiveGrpcChannelChecker extends Object implements ConnectionSanityChecker
ConnectionSanityChecker
implementation that verifies if the gRPC channel between client and Axon Server is
connected.Constructor and Description |
---|
ActiveGrpcChannelChecker(AxonServerConnectionManager connectionManager,
String context)
Deprecated.
Constructs an
ActiveGrpcChannelChecker based on the connection manager. |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Deprecated.
Returns true if the connection is still alive, false otherwise.
|
public ActiveGrpcChannelChecker(AxonServerConnectionManager connectionManager, String context)
ActiveGrpcChannelChecker
based on the connection manager.connectionManager
- the AxonServerConnectionManager
context
- the (Bounded) Context for which is verified the AxonServer connection through the gRPC
channelpublic boolean isValid()
Detects if exists a gRPC channel between the client an Axon Server.
isValid
in interface ConnectionSanityChecker
true
if the gRPC channel is opened, false otherwiseCopyright © 2010–2024. All rights reserved.