Uses of Class
com.aoindustries.aoserv.cluster.ClusterConfiguration
Package
Description
-
Uses of ClusterConfiguration in com.aoindustries.aoserv.cluster
Modifier and TypeMethodDescriptionClusterConfiguration.addDomUConfiguration
(DomU domU, Dom0 primaryDom0, Dom0 secondaryDom0) Adds a domU to the configuration.ClusterConfiguration.addDomUDiskConfiguration
(DomU domU, DomUDisk domUDisk, List<PhysicalVolumeConfiguration> primaryPhysicalVolumeConfigurations, List<PhysicalVolumeConfiguration> secondaryPhysicalVolumeConfigurations) Adds a domU disk to the configuration.ClusterConfiguration.liveMigrate
(DomU domU) Swaps the primary and secondary for the provided DomU and returns the new cluster configuration.Modifier and TypeMethodDescriptionClusterConfiguration.moveSecondary
(DomU domU, Dom0 newSecondaryDom0) Moves the secondary to another machine if it is possible to map all of the extents for the DomUDisks onto free physical volumes in Dom0.Modifier and TypeMethodDescriptionint
ClusterConfiguration.compareTo
(ClusterConfiguration other) Sorted ascending.boolean
ClusterConfiguration.equals
(ClusterConfiguration other) Performs a deep field-by-field comparison to see if two configurations are identical in every way. -
Uses of ClusterConfiguration in com.aoindustries.aoserv.cluster.analyze
Modifier and TypeMethodDescriptionAnalyzedClusterConfiguration.getClusterConfiguration()
Gets the cluster configuration that is analyzed.AnalyzedDom0Configuration.getClusterConfiguration()
AnalyzedDom0DiskConfiguration.getClusterConfiguration()
ModifierConstructorDescriptionAnalyzedClusterConfiguration
(ClusterConfiguration clusterConfiguration) Analyzes the cluster looking for any non-optimal configurations.AnalyzedDom0Configuration
(ClusterConfiguration clusterConfiguration, Dom0 dom0) AnalyzedDom0DiskConfiguration
(ClusterConfiguration clusterConfiguration, Dom0Disk dom0Disk) Creates a new configuration. -
Uses of ClusterConfiguration in com.aoindustries.aoserv.cluster.optimize
Modifier and TypeMethodDescriptionClusterOptimizer.getClusterConfiguration()
Gets the starting clusterConfiguration.ListElement.getClusterConfiguration()
Modifier and TypeMethodDescriptiondouble
ExponentialDeviationHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
ExponentialDeviationWithNoneHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
ExponentialHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
HeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) Estimates the number of moves to an optimal state.double
LeastInformedHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
LinearHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
RandomHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) double
SimpleHeuristicFunction.getHeuristic
(ClusterConfiguration clusterConfiguration, int g) ModifierConstructorDescriptionClusterOptimizer
(ClusterConfiguration clusterConfiguration, HeuristicFunction heuristicFunction, boolean allowPathThroughCritical, boolean randomizeChildren) Creates a new cluster optimizer for the given configuration and heuristic.