org.tarantool.TarantoolClient Maven / Gradle / Ivy
package org.tarantool;
import java.util.List;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
public interface TarantoolClient {
TarantoolClientOps, Object, List>> syncOps();
TarantoolClientOps, Object, Future>> asyncOps();
TarantoolClientOps, Object, Long> fireAndForgetOps();
void close();
boolean isAlive();
void waitAlive() throws InterruptedException;
boolean waitAlive(long timeout, TimeUnit unit) throws InterruptedException;
}