tech.ydb.proto.coordination.SemaphoreSessionOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/ydb_coordination.proto
package tech.ydb.proto.coordination;
public interface SemaphoreSessionOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Coordination.SemaphoreSession)
com.google.protobuf.MessageOrBuilder {
/**
*
* A monotonically increasing id which determines locking order
*
*
* uint64 order_id = 5;
* @return The orderId.
*/
long getOrderId();
/**
*
* An id of the session which tried to acquire the semaphore
*
*
* uint64 session_id = 1;
* @return The sessionId.
*/
long getSessionId();
/**
*
* A timeout in milliseconds for operation in waiters queue
*
*
* uint64 timeout_millis = 2;
* @return The timeoutMillis.
*/
long getTimeoutMillis();
/**
*
* Number of tokens for an acquire operation
*
*
* uint64 count = 3;
* @return The count.
*/
long getCount();
/**
*
* User-defined data attached to the acquire operation
*
*
* bytes data = 4;
* @return The data.
*/
com.google.protobuf.ByteString getData();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy