Package | Description |
---|---|
co.cask.coopr.layout |
Classes related to solving cluster layouts.
|
co.cask.coopr.layout.change |
Classes related to changing cluster layouts.
|
Modifier and Type | Method and Description |
---|---|
static ClusterLayout |
ClusterLayout.fromNodes(Set<Node> clusterNodes,
Constraints constraints)
Derive a ClusterLayout from a set of
Node s and some Constraints . |
Modifier and Type | Method and Description |
---|---|
ClusterLayout |
ClusterLayoutChange.applyChange(ClusterLayout layout)
Apply the change to the given
ClusterLayout . |
ClusterLayout |
AddServicesChange.applyChange(ClusterLayout originalLayout) |
ClusterLayout |
ClusterLayoutTracker.getCurrentLayout()
Get the current layout of the cluster.
|
Modifier and Type | Method and Description |
---|---|
ClusterLayout |
ClusterLayoutChange.applyChange(ClusterLayout layout)
Apply the change to the given
ClusterLayout . |
ClusterLayout |
AddServicesChange.applyChange(ClusterLayout originalLayout) |
boolean |
ClusterLayoutChange.canApplyChange(ClusterLayout layout)
Returns whether or not the change can be applied to the given
ClusterLayout . |
boolean |
AddServicesChange.canApplyChange(ClusterLayout layout) |
Constructor and Description |
---|
AddServiceChangeIterator(ClusterLayout clusterLayout,
String service) |
ClusterLayoutTracker(ClusterLayout startingLayout)
Create a layout change tracker given some starting layout.
|
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.