Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Class ResourceNode<R extends Resource<R,N>,N extends ResourceNode<R,N>>
java.lang.Object
com.aoapps.appcluster.ResourceNode<R,N>
- Direct Known Subclasses:
CronResourceNode
public abstract class ResourceNode<R extends Resource<R,N>,N extends ResourceNode<R,N>>
extends Object
The node settings on a per-resource basis.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ModifierConstructorDescriptionprotected
ResourceNode
(Node node, ResourceNodeConfiguration<R, N> resourceNodeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the current DNS status of this resource node.getNode()
Gets the node this represents.Gets the set of node DNS records that must all by the same and match the resource's masterRecords for this node to be considered a master.Gets the resource this represents.Gets the synchronization status for this resource node as a remote node ornull
if this is not a remote node.int
hashCode()
toString()
-
Constructor Details
-
ResourceNode
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getResource
Gets the resource this represents. -
getNode
Gets the node this represents. -
getNodeRecords
Gets the set of node DNS records that must all by the same and match the resource's masterRecords for this node to be considered a master. -
getDnsStatus
Gets the current DNS status of this resource node. -
getSynchronizationStatus
Gets the synchronization status for this resource node as a remote node ornull
if this is not a remote node.
-