ClusterClient is a client for managing and interacting with a distributed cluster of nodes.
| 490 | |
| 491 | // ClusterClient is a client for managing and interacting with a distributed cluster of nodes. |
| 492 | type ClusterClient struct { |
| 493 | client *server.Client |
| 494 | config *clusterClientConfig |
| 495 | logger *log.Logger |
| 496 | routingTable atomic.Value |
| 497 | partitionCount uint64 |
| 498 | wg sync.WaitGroup |
| 499 | ctx context.Context |
| 500 | cancel context.CancelFunc |
| 501 | } |
| 502 | |
| 503 | // Ping sends a ping message to an Olric node. Returns PONG if a message is empty, |
| 504 | // otherwise return a copy of the message as bulk. This command is often used to test |
nothing calls this directly
no outgoing calls
no test coverage detected