VertexCacheSdk.Command.Impl.PingCommand (vertexcache_sdk v1.0.0)

View Source

Handles 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

build_command()

@spec build_command() :: String.t()

Callback implementation for VertexCacheSdk.Command.build_command/0.

execute(connector)

@spec execute(VertexCacheSdk.Comm.ClientConnector.t()) ::
  VertexCacheSdk.Model.CommandResult.t()

Callback implementation for VertexCacheSdk.Command.execute/1.

parse_response(arg1)

@spec parse_response(String.t()) :: :ok

Callback implementation for VertexCacheSdk.Command.parse_response/1.