NodePreference

sealed trait NodePreference

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

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
class Object
trait Matchable
class Any
object Leader
object Follower