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
ConstructorDescriptionAnalyzedDom0Configuration
(ClusterConfiguration clusterConfiguration, Dom0 dom0) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllResults
(ResultHandler<Object> resultHandler, AlertLevel minimumAlertLevel) getDom0()
Gets the unsorted, unmodifiable list of results for each disk.boolean
getPrimaryProcessorWeightResult
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the free primary processor weight.boolean
getPrimaryRamResult
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the results for primary RAM allocation.boolean
getProcessorArchitectureResults
(ResultHandler<? super ProcessorArchitecture> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor architecture results.boolean
getProcessorCoresResults
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor cores results.boolean
getProcessorSpeedResults
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor speed results.boolean
getProcessorTypeResults
(ResultHandler<? super ProcessorType> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable set of specific processor type results.boolean
getRequiresHvmResults
(ResultHandler<? super Boolean> resultHandler, AlertLevel minimumAlertLevel) Gets the unmodifiable list of specific requires HVM results.boolean
getSecondaryRamResults
(ResultHandler<? super Integer> resultHandler, AlertLevel minimumAlertLevel) Gets the secondary RAM allocation results.
-
Constructor Details
-
AnalyzedDom0Configuration
-
-
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.
-