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

com.ibm.etcd.api.LockRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.24
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: v3lock.proto

package com.ibm.etcd.api;

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 acquisition; 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