ClearOrder
Configures in which order KeyedPhysicalReplica clears children when child count exceeds KeyedReplicaSettings.maxCount.
Types
Link copied to clipboard
Compares replicas by ReplicaData.changingTime.
Link copied to clipboard
Compares replicas by ObservingState.observingTime.
Link copied to clipboard
data class CustomComparator<K : Any, T : Any>(val comparator: Comparator<Pair<K, ReplicaState<T>>>) : ClearOrder<K, T>
Content copied to clipboard
Allows to specify custom comparator.