java.lang.Object
com.aoapps.appcluster.ResourceDnsResult
- All Implemented Interfaces:
ResourceResult
Contains the results of one DNS monitoring pass.
- Author:
- AO Industries, Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
The warning is 10 seconds after the longest check time including timeouts. -
Method Summary
Modifier and TypeMethodDescriptionMap<? extends Name,
? extends Map<? extends Nameserver, ? extends DnsLookupResult>> Gets the mapping of all masterRecord DNS lookups in the form masterRecord->enabledNameserver->result.Gets the status of the master records.Gets the master status messages.Map<? extends Node,
? extends ResourceNodeDnsResult> Gets the result of each node.Collection<? extends ResourceNodeDnsResult>
Gets the result of each node.Resource<?,
?> Gets the ResourceStatus this result will cause.Gets the number of seconds since this result had started ornull
if not running.Matches the rules for resource status.
-
Field Details
-
WARNING_SECONDS
public static final int WARNING_SECONDSThe warning is 10 seconds after the longest check time including timeouts. -
ERROR_SECONDS
public static final int ERROR_SECONDS
-
-
Method Details
-
getResource
-
getStartTime
- Specified by:
getStartTime
in interfaceResourceResult
-
getEndTime
- Specified by:
getEndTime
in interfaceResourceResult
-
getSecondsSince
Gets the number of seconds since this result had started ornull
if not running. -
getSecondsSinceStatus
Matches the rules for resource status.- See Also:
-
getMasterRecordLookups
public Map<? extends Name,? extends Map<? extends Nameserver, getMasterRecordLookups()? extends DnsLookupResult>> Gets the mapping of all masterRecord DNS lookups in the form masterRecord->enabledNameserver->result. If no lookups have been performed, such as during STOPPED or UNKNOWN state, returnsnull
. Otherwise, it contains an entry for every masterRecord querying every enabled nameserver. -
getMasterStatus
Gets the status of the master records. -
getMasterStatusMessages
Gets the master status messages. If no message, returns an empty set. -
getNodeResultMap
Gets the result of each node. This has an entry for every node in this resource. -
getNodeResults
Gets the result of each node. This has an entry for every node in this resource. -
getResourceStatus
Gets the ResourceStatus this result will cause.- Specified by:
getResourceStatus
in interfaceResourceResult
-