Interface Singleton

    • Method Detail

      • isPrimary

        boolean isPrimary()
        Indicates whether this node is the primary provider of the singleton.
        Returns:
        true, if this node is the primary node, false if it is a backup node.
      • getPrimaryProvider

        Node getPrimaryProvider()
        Returns the current primary provider of the singleton.
        Returns:
        a cluster member
      • getProviders

        Set<Node> getProviders()
        Returns the providers on which the given singleton is available.
        Returns:
        a set of cluster members