- <init>
Create an instance and the (empty) array of nodes
- canHost
Is this node instance a suitable candidate for the specific role?
- exceedsFailureThreshold
Predicate to query if the number of recent failures of a role on this node
exceeds that role's failu
- get
Get the entry for a role -if present
- getActiveRoleInstances
Count the number of active role instances on this node
- getOrCreate
Get the node entry matching a container on this node
- isBlacklisted
- isOnline
Is the node considered online
- remove
Get the entry for a role -and remove it if present
- resetFailedRecently
run through each entry resetting the failure count
- serialize
Produced a serialized form which can be served up as JSON
- setBlacklisted