ObservingState

data class ObservingState(    val observerIds: Set<Long> = emptySet(),     val activeObserverIds: Set<Long> = emptySet(),     val observingTime: ObservingTime = ObservingTime.Never)

Has information about observers of a replica.

Constructors

Link copied to clipboard
fun ObservingState(    observerIds: Set<Long> = emptySet(),     activeObserverIds: Set<Long> = emptySet(),     observingTime: ObservingTime = ObservingTime.Never)

Properties

Link copied to clipboard
val activeObserverCount: Int
Link copied to clipboard
val activeObserverIds: Set<Long>
Link copied to clipboard
val observerCount: Int
Link copied to clipboard
val observerIds: Set<Long>
Link copied to clipboard
val observingTime: ObservingTime
Link copied to clipboard
val status: ObservingStatus