Class DefaultSystemHealthService

java.lang.Object
net.solarnetwork.service.support.BasicIdentifiable
net.solarnetwork.node.runtime.DefaultSystemHealthService
All Implemented Interfaces:
SystemHealthService, net.solarnetwork.service.Identifiable

public class DefaultSystemHealthService extends net.solarnetwork.service.support.BasicIdentifiable implements SystemHealthService
Default implementation of SystemHealthService.
Since:
2.2
Version:
1.0
Author:
matt
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.solarnetwork.node.service.SystemHealthService

    SystemHealthService.PingTestResults
  • Field Summary

    Fields inherited from interface net.solarnetwork.service.Identifiable

    GROUP_UID_PROPERTY, UID_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultSystemHealthService(List<net.solarnetwork.service.PingTest> tests)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    performPingTests(Set<String> pingTestIds)
    Perform a set of ping tests and return their results.

    Methods inherited from class net.solarnetwork.service.support.BasicIdentifiable

    basicIdentifiableMetadataSettings, basicIdentifiableSettings, basicIdentifiableSettings, basicIdentifiableSettings, doubleMetadataValue, getDisplayName, getGroupUid, getGroupUID, getMessageSource, getMetadata, getMetadataCount, getUid, getUID, integerMetadataValue, metadataValue, numberMetadataValue, saveMetadataValue, saveMetadataValue, setDisplayName, setGroupUid, setGroupUID, setMessageSource, setMetadata, setMetadataCount, setUid, setUID, smartMetadataValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultSystemHealthService

      public DefaultSystemHealthService(List<net.solarnetwork.service.PingTest> tests)
      Constructor.
      Parameters:
      tests - the list of all available tests
      Throws:
      IllegalArgumentException - if any argument is null
  • Method Details