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

tech.ydb.proto.coordination.SemaphoreDescriptionOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: protos/ydb_coordination.proto

package tech.ydb.proto.coordination;

public interface SemaphoreDescriptionOrBuilder extends
    // @@protoc_insertion_point(interface_extends:Ydb.Coordination.SemaphoreDescription)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Name of the semaphore
   * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
   * Name of the semaphore
   * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
   * User-defined data attached to the semaphore
   * 
* * bytes data = 2; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
   * Number of tokens currently acquired by owners
   * 
* * uint64 count = 7; * @return The count. */ long getCount(); /** *
   * Maximum number of tokens that may acquired
   * 
* * uint64 limit = 3; * @return The limit. */ long getLimit(); /** *
   * Ephemeral semaphores are deleted when released by all owners and waiters
   * 
* * bool ephemeral = 4; * @return The ephemeral. */ boolean getEphemeral(); /** *
   * A list of current owners of the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession owners = 5; */ java.util.List getOwnersList(); /** *
   * A list of current owners of the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession owners = 5; */ tech.ydb.proto.coordination.SemaphoreSession getOwners(int index); /** *
   * A list of current owners of the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession owners = 5; */ int getOwnersCount(); /** *
   * A list of current owners of the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession owners = 5; */ java.util.List getOwnersOrBuilderList(); /** *
   * A list of current owners of the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession owners = 5; */ tech.ydb.proto.coordination.SemaphoreSessionOrBuilder getOwnersOrBuilder( int index); /** *
   * A list of current waiters on the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession waiters = 6; */ java.util.List getWaitersList(); /** *
   * A list of current waiters on the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession waiters = 6; */ tech.ydb.proto.coordination.SemaphoreSession getWaiters(int index); /** *
   * A list of current waiters on the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession waiters = 6; */ int getWaitersCount(); /** *
   * A list of current waiters on the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession waiters = 6; */ java.util.List getWaitersOrBuilderList(); /** *
   * A list of current waiters on the semaphore
   * 
* * repeated .Ydb.Coordination.SemaphoreSession waiters = 6; */ tech.ydb.proto.coordination.SemaphoreSessionOrBuilder getWaitersOrBuilder( int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy