Class AnalyzedDom0DiskConfiguration
java.lang.Object
com.aoindustries.aoserv.cluster.analyze.AnalyzedDom0DiskConfiguration
- All Implemented Interfaces:
Comparable<AnalyzedDom0DiskConfiguration>
public class AnalyzedDom0DiskConfiguration
extends Object
implements Comparable<AnalyzedDom0DiskConfiguration>
Analyzes a single Dom0Disk to find anything that is not optimal.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionAnalyzedDom0DiskConfiguration
(ClusterConfiguration clusterConfiguration, Dom0Disk dom0Disk) Creates a new configuration. -
Method Summary
Modifier and TypeMethodDescriptionint
Sorted ascending.boolean
getAllocatedWeightResult
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the free allocation disk weight.boolean
getAllResults
(ResultHandler<Object> resultHandler, AlertLevel minimumAlertLevel) boolean
getDiskSpeedResults
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unsorted, unmodifiable list of results per DomUDisk.
-
Constructor Details
-
AnalyzedDom0DiskConfiguration
Creates a new configuration.
-
-
Method Details
-
getClusterConfiguration
-
getDom0Disk
-
getAllocatedWeightResult
public boolean getAllocatedWeightResult(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the free allocation disk weight.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getDiskSpeedResults
public boolean getDiskSpeedResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unsorted, unmodifiable list of results per DomUDisk.- Returns:
- true if more results are wanted, or false to receive no more results.
-
compareTo
Sorted ascending. By:- clusterName
- dom0Hostname
- device
- Specified by:
compareTo
in interfaceComparable<AnalyzedDom0DiskConfiguration>
-
getAllResults
- Returns:
- true if more results are wanted, or false to receive no more results.
-