cinchapi / concourse

Distributed database warehouse for transactions, search and analytics across time.
http://concoursedb.com
Apache License 2.0
315 stars 233 forks source link

Add "probe" method to check if client is still connected to the server #512

Open jtnelson opened 6 months ago

jtnelson commented 6 months ago
/**
 * Probes the current connection to the server.
 * <p>
 * This method checks if the client is still connected to the server by sending a query or signal
 * and awaiting a response. It is used to ensure the client's ability to communicate with the server
 * remains intact.
 * 
 * @return boolean - {@code true} if the client is currently connected to the server,
 *                   {@code false} otherwise.
 */
public boolean probe() {
    // implementation code here
}