@Deprecated public class GrpcHeartbeatSource extends Object implements HeartbeatSource
HeartbeatSource
, which sends to AxonServer a Heartbeat
message.Constructor and Description |
---|
GrpcHeartbeatSource(AxonServerConnectionManager connectionManager,
String context)
Deprecated.
Creates a
GrpcHeartbeatSource which uses an AxonServerConnectionManager to send heartbeats
messages to AxonServer. |
Modifier and Type | Method and Description |
---|---|
void |
pulse()
Deprecated.
Send an heartbeat to AxonServer
|
public GrpcHeartbeatSource(AxonServerConnectionManager connectionManager, String context)
GrpcHeartbeatSource
which uses an AxonServerConnectionManager
to send heartbeats
messages to AxonServer.connectionManager
- the AxonServerConnectionManager
context
- defines the (Bounded) Context for which heartbeats are sentpublic void pulse()
Sends a PlatformInboundInstruction
to AxonServer that contains a Heartbeat
message.
pulse
in interface HeartbeatSource
Copyright © 2010–2020. All rights reserved.