Class CGAgentHeartBeatTask

  • All Implemented Interfaces:
    Runnable

    public class CGAgentHeartBeatTask
    extends Object
    implements Runnable
    Represent a heat beat task which check the health of a remote server, and also notify the set of observers upon detecting the server is alive
    • Constructor Detail

      • CGAgentHeartBeatTask

        public CGAgentHeartBeatTask​(CGAgentSubject subject,
                                    double reconnectionProgressionFactor,
                                    int initialReconnectDuration,
                                    String remoteHost,
                                    int port,
                                    org.wso2.carbon.context.CarbonContext carbonContext)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable