All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tarantool.TarantoolClient Maven / Gradle / Ivy

There is a newer version: 1.9.4
Show newest version
package org.tarantool;

import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;

public interface TarantoolClient {
    TarantoolClientOps, Object, List> syncOps();

    TarantoolClientOps, Object, Future>> asyncOps();

    TarantoolClientOps, Object, CompletionStage>> composableAsyncOps();

    TarantoolClientOps, Object, Long> fireAndForgetOps();

    TarantoolSQLOps>> sqlSyncOps();

    TarantoolSQLOps, Future>>> sqlAsyncOps();

    void close();

    boolean isAlive();

    void waitAlive() throws InterruptedException;

    boolean waitAlive(long timeout, TimeUnit unit) throws InterruptedException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy