Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Interface ResourceNodeConfiguration<R extends Resource<R,N>,N extends ResourceNode<R,N>>
- All Known Subinterfaces:
CronResourceNodeConfiguration<R,
N>
- All Known Implementing Classes:
CronResourceNodePropertiesConfiguration
,ResourceNodePropertiesConfiguration
public interface ResourceNodeConfiguration<R extends Resource<R,N>,N extends ResourceNode<R,N>>
The configuration for one resource node.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the unique ID of the node this configuration represents.Gets the unique ID of the resource this configuration represents.int
hashCode()
newResourceNode
(Node node) Creates a new resource node from this configuration.toString()
-
Method Details
-
toString
String toString() -
equals
-
hashCode
int hashCode() -
getResourceId
String getResourceId()Gets the unique ID of the resource this configuration represents. -
getNodeId
String getNodeId()Gets the unique ID of the node this configuration represents. -
getNodeRecords
- See Also:
-
newResourceNode
Creates a new resource node from this configuration.- Throws:
AppClusterConfigurationException
-