Last active
December 11, 2015 09:38
-
-
Save ericacm/4581473 to your computer and use it in GitHub Desktop.
Cluster Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait ClusterService { | |
def initialize() | |
def enabled: Boolean | |
def clusterStatus: ClusterStatus | |
def nodeId: String | |
} | |
case class ClusterStatus( | |
current: String, | |
isLeader: Boolean, | |
leader: String, | |
participants: Iterable[String]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment