Interface CloudMembershipServiceMBean

  • All Known Implementing Classes:
    CloudMembershipService

    public interface CloudMembershipServiceMBean
    MBean interface for the CloudMembershipService.
    • Method Detail

      • getConnectTimeout

        int getConnectTimeout()
        Returns the connection timeout in milliseconds.
        Returns:
        the connection timeout
      • getReadTimeout

        int getReadTimeout()
        Returns the read timeout in milliseconds.
        Returns:
        the read timeout
      • getExpirationTime

        long getExpirationTime()
        Returns the member expiration time in milliseconds.
        Returns:
        the expiration time
      • getProperties

        java.util.Properties getProperties()
        Returns the properties for this service.
        Returns:
        the properties
      • hasMembers

        boolean hasMembers()
        Returns whether there are members in the cluster.
        Returns:
        true if there are members
      • getMembersByName

        java.lang.String[] getMembersByName()
        Returns the names of all members in the cluster.
        Returns:
        the member names
      • findMemberByName

        Member findMemberByName​(java.lang.String name)
        Finds a member by name.
        Parameters:
        name - the member name
        Returns:
        the member, or null if not found