Class AnalyzedDom0Configuration
java.lang.Object
com.aoindustries.aoserv.cluster.analyze.AnalyzedDom0Configuration
Analyzes a single Dom0 to find anything that is not optimal.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyzedDom0Configuration(ClusterConfiguration clusterConfiguration, Dom0 dom0) Creates a newAnalyzedDom0Configuration. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAllResults(ResultHandler<Object> resultHandler, AlertLevel minimumAlertLevel) getDom0()Gets the unsorted, unmodifiable list of results for each disk.booleangetPrimaryProcessorWeightResult(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the free primary processor weight.booleangetPrimaryRamResult(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the results for primary RAM allocation.booleangetProcessorArchitectureResults(ResultHandler<? super ProcessorArchitecture> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor architecture results.booleangetProcessorCoresResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor cores results.booleangetProcessorSpeedResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor speed results.booleangetProcessorTypeResults(ResultHandler<? super ProcessorType> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor type results.booleangetRequiresHvmResults(ResultHandler<? super Boolean> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable list of specific requires HVM results.booleangetSecondaryRamResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the secondary RAM allocation results.
-
Constructor Details
-
AnalyzedDom0Configuration
Creates a newAnalyzedDom0Configuration.
-
-
Method Details
-
getClusterConfiguration
-
getDom0
-
getPrimaryRamResult
public boolean getPrimaryRamResult(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the results for primary RAM allocation.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getSecondaryRamResults
public boolean getSecondaryRamResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the secondary RAM allocation results. It has a separate entry for each Dom0 that has any secondary resource on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getProcessorTypeResults
public boolean getProcessorTypeResults(ResultHandler<? super ProcessorType> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor type results. It has a separate entry for each DomU that is either primary or secondary (with RAM) on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getProcessorArchitectureResults
public boolean getProcessorArchitectureResults(ResultHandler<? super ProcessorArchitecture> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor architecture results. It has a separate entry for each DomU that is either primary or secondary (with RAM) on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getProcessorSpeedResults
public boolean getProcessorSpeedResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor speed results. It has a separate entry for each DomU that is either primary or secondary (with RAM) on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getProcessorCoresResults
public boolean getProcessorCoresResults(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor cores results. It has a separate entry for each DomU that is either primary or secondary (with RAM) on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getPrimaryProcessorWeightResult
public boolean getPrimaryProcessorWeightResult(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the free primary processor weight.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getRequiresHvmResults
public boolean getRequiresHvmResults(ResultHandler<? super Boolean> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable list of specific requires HVM results. It has a separate entry for each DomU that is either primary or secondary (with RAM) on this dom0.- Returns:
- true if more results are wanted, or false to receive no more results.
-
getDom0Disks
Gets the unsorted, unmodifiable list of results for each disk. -
getAllResults
- Returns:
- true if more results are wanted, or false to receive no more results.
-
