RequestIdSyntax

zio.raft.protocol.`package`.RequestId.RequestIdSyntax
final implicit class RequestIdSyntax(requestId: RequestId) extends AnyVal

Syntax extensions for RequestId instances.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def increaseBy(x: Int): Type
def isGreaterThan(other: RequestId): Boolean
def isLowerOrEqual(other: RequestId): Boolean
def isLowerThan(other: RequestId): Boolean

Get the next request ID by incrementing by one.

Get the next request ID by incrementing by one.

Attributes

def value: Long

Get the value of the request ID.

Get the value of the request ID.

Attributes