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

tech.ytsaurus.client.request.Durability Maven / Gradle / Ivy

package tech.ytsaurus.client.request;

import tech.ytsaurus.rpcproxy.EDurability;

/**
 * Durability of transactions.
 * @see 
 * dynamic table documentation
 * 
 */
public enum Durability {
    Sync(EDurability.D_SYNC, "sync"),
    Async(EDurability.D_ASYNC, "async");

    private final EDurability protoValue;
    private final String stringValue;

    Durability(EDurability protoValue, String stringValue) {
        this.protoValue = protoValue;
        this.stringValue = stringValue;
    }

    @Override
    public String toString() {
        return stringValue;
    }

    public EDurability getProtoValue() {
        return protoValue;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy