Interface InstanceReader

  • All Superinterfaces:
    BaseReader
    All Known Implementing Classes:
    InstanceReaderImpl

    public interface InstanceReader
    extends BaseReader
    Provides instance information relavant to Load balancer tier.
    Author:
    Satish Viswanatham
    • Method Detail

      • getLbEnabled

        boolean getLbEnabled()
                      throws LbReaderException
        Returns if the server is enabled in the load balancer or not.
        Returns:
        boolean true if enabled in LB; false if disabled
        Throws:
        LbReaderException
      • getDisableTimeoutInMinutes

        String getDisableTimeoutInMinutes()
                                   throws LbReaderException
        This is used in quicescing. Timeouts after this interval and disables the instance in the load balancer.
        Returns:
        String Disable time out in minutes
        Throws:
        LbReaderException
      • getListeners

        String getListeners()
                     throws LbReaderException
        Enlists both http and https listeners of this server instance It will be form "http:: https::"
        Returns:
        String Listener(s) info.
        Throws:
        LbReaderException