Class ClusterNodeDescriptor

java.lang.Object
org.nuxeo.runtime.cluster.ClusterNodeDescriptor
All Implemented Interfaces:
Descriptor

public class ClusterNodeDescriptor extends Object implements Descriptor
Descriptor of a cluster node.
Since:
11.1
  • Field Details

  • Constructor Details

    • ClusterNodeDescriptor

      public ClusterNodeDescriptor()
      Empty constructor.
  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • getName

      public String getName()
      Gets the name (id) of the cluster node.
    • getEnabled

      public Boolean getEnabled()
      Checks if cluster is enabled for this node. May return null if there is no configuration.
    • merge

      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor