VertexCacheSdk.Command.Impl.PingCommand (vertexcache_sdk v1.0.0)
View SourceHandles the PING command in VertexCache.
This command is used to check server availability and latency.
It returns a basic "PONG"
response and can be used by clients to verify liveness.
PING is always allowed regardless of authentication state or client role. It does not require access validation or key arguments.
Summary
Functions
Callback implementation for VertexCacheSdk.Command.build_command/0
.
Callback implementation for VertexCacheSdk.Command.execute/1
.
Callback implementation for VertexCacheSdk.Command.parse_response/1
.
Functions
@spec build_command() :: String.t()
Callback implementation for VertexCacheSdk.Command.build_command/0
.
@spec execute(VertexCacheSdk.Comm.ClientConnector.t()) ::
VertexCacheSdk.Model.CommandResult.t()
Callback implementation for VertexCacheSdk.Command.execute/1
.
@spec parse_response(String.t()) :: :ok
Callback implementation for VertexCacheSdk.Command.parse_response/1
.