Class AnalyzedDom0Configuration

java.lang.Object
com.aoindustries.aoserv.cluster.analyze.AnalyzedDom0Configuration

public class AnalyzedDom0Configuration extends Object
Analyzes a single Dom0 to find anything that is not optimal.
Author:
AO Industries, Inc.
  • Constructor Details

  • Method Details

    • getClusterConfiguration

      public ClusterConfiguration getClusterConfiguration()
    • getDom0

      public Dom0 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

      public List<AnalyzedDom0DiskConfiguration> getDom0Disks()
      Gets the unsorted, unmodifiable list of results for each disk.
    • getAllResults

      public boolean getAllResults(ResultHandler<Object> resultHandler, AlertLevel minimumAlertLevel)
      Returns:
      true if more results are wanted, or false to receive no more results.