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

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

The newest version!
package tech.ytsaurus.client.request;

import tech.ytsaurus.rpcproxy.EReplicaConsistency;

public enum ReplicaConsistency {
    Sync(EReplicaConsistency.RRM_SYNC, "sync"),
    None(EReplicaConsistency.RRM_NONE, "none");

    private final EReplicaConsistency protoValue;
    private final String stringValue;

    ReplicaConsistency(EReplicaConsistency protoValue, String stringValue) {
        this.protoValue = protoValue;
        this.stringValue = stringValue;
    }

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

    EReplicaConsistency getProtoValue() {
        return protoValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy