NodePreference

sealed trait NodePreference

Used in conjunction with cluster connections where you provide a preference about what state a node should be in.

There are three variants:

Companion:
object
Source:
preference.scala
class Object
trait Matchable
class Any
object Follower.type
object Leader.type
object ReadOnlyReplica.type