Interface InstanceDescriptor

    • Method Detail

      • equals

        boolean equals​(Object obj)
        Overrides equals purely based on the UUID value
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
      • getAdminPort

        int getAdminPort()
        Gets the admin port number for this instance descriptor
        Returns:
        the admin port number in use by this instance
      • getApplicationURLS

        List<URL> getApplicationURLS()
      • getHazelcastPort

        int getHazelcastPort()
        Gets the Hazelcast port number of this instance descriptor
        Returns:
        the port number in use by Hazelcast
      • getHostName

        InetAddress getHostName()
        Returns:
        the hostName
      • getHttpPorts

        List<Integer> getHttpPorts()
        Returns:
        the httpPorts
      • getHttpsPorts

        List<Integer> getHttpsPorts()
        Returns:
        the httpsPorts
      • getInstanceName

        String getInstanceName()
      • getInstanceType

        String getInstanceType()
        Gets the instance type that this descriptor describes
        Returns:
        the instance type that this descriptor describes
      • getMemberUUID

        UUID getMemberUUID()
        Returns:
        the memberUUID
      • isLiteMember

        boolean isLiteMember()
        Checks whether or not this instance is described as a Lite Hazelcast member
        Returns:
        true if this instance describes a Hazelcast Lite member
      • isMicroInstance

        boolean isMicroInstance()
        Checks whether or not this descriptor describes a Payara Micro instance
        Returns:
        true if this descriptor describes a Payara Micro instances
      • isPayaraInstance

        boolean isPayaraInstance()
        Checks whether or not this descriptor describes a Payara Server instance or the DAS
        Returns:
        true if this descriptor describes a Payara Server instance or the DAS
      • getInstanceGroup

        String getInstanceGroup()
        Returns the instance group name of the instance
        Returns:
      • toJsonString

        String toJsonString​(boolean verbose)
        Parameters:
        verbose - whether to include servlet mappings in the returned object.
        Returns:
        a JSON formatted string representing the instance.
      • getLastHearbeat

        long getLastHearbeat()
        Returns:
        the timestamp of the last heartbeat this instance updated