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

io.etcd.jetcd.api.lock.LockRequestOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: lock.proto

// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api.lock;

public interface LockRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:v3lockpb.LockRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * name is the identifier for the distributed shared lock to be acquired.
   * 
* * bytes name = 1; * @return The name. */ com.google.protobuf.ByteString getName(); /** *
   * lease is the ID of the lease that will be attached to ownership of the
   * lock. If the lease expires or is revoked and currently holds the lock,
   * the lock is automatically released. Calls to Lock with the same lease will
   * be treated as a single acquistion; locking twice with the same lease is a
   * no-op.
   * 
* * int64 lease = 2; * @return The lease. */ long getLease(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy