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

com.palantir.atlasdb.timelock.api.UndertowMultiClientConjureTimelockService Maven / Gradle / Ivy

There is a newer version: 0.1193.0
Show newest version
package com.palantir.atlasdb.timelock.api;

import com.google.common.util.concurrent.ListenableFuture;
import com.palantir.tokens.auth.AuthHeader;
import java.util.Map;
import java.util.Set;
import javax.annotation.Generated;

@Generated("com.palantir.conjure.java.services.UndertowServiceInterfaceGenerator")
public interface UndertowMultiClientConjureTimelockService {
    /**
     * Version of ConjureTimelockService#leaderTime endpoint for acquiring leaderTimes for a set of namespaces.
     * @apiNote {@code POST /tl/multi/lts}
     */
    ListenableFuture leaderTimes(AuthHeader authHeader, Set namespaces);

    /**
     * Version of ConjureTimelockService#startTransactions that starts transactions for multiple namespaces.
     * @apiNote {@code POST /tl/multi/sts}
     * @deprecated This endpoint is deprecated. Please use {@link #startTransactionsForClients} to start transactions for multiple clients.
     */
    @Deprecated
    ListenableFuture> startTransactions(
            AuthHeader authHeader, Map requests);

    /**
     * Version of ConjureTimelockService#getCommitTimestamps for acquiring commit timestamps for multiple namespaces.
     * @apiNote {@code POST /tl/multi/gcts}
     * @deprecated This endpoint is deprecated. Please use {@link #getCommitTimestampsForClients} to get commit timestamps for multiple clients.
     */
    @Deprecated
    ListenableFuture> getCommitTimestamps(
            AuthHeader authHeader, Map requests);

    /**
     * Version of ConjureTimelockService#startTransactions that starts transactions for multiple namespaces.
     * @apiNote {@code POST /tl/multi/stsfc}
     */
    ListenableFuture> startTransactionsForClients(
            AuthHeader authHeader, Map requests);

    /**
     * Version of ConjureTimelockService#getCommitTimestamps for acquiring commit timestamps for multiple namespaces.
     * @apiNote {@code POST /tl/multi/gctsfc}
     */
    ListenableFuture> getCommitTimestampsForClients(
            AuthHeader authHeader, Map requests);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy