Package com.subhajit.processmanager.agent.heartbeat

Examples of com.subhajit.processmanager.agent.heartbeat.Heartbeat


        public void run() {
          try {
            final IHeartbeatRepository repository = (IHeartbeatRepository) Class
                .forName(heartbeatRepositoryClassName)
                .getConstructor(String.class).newInstance(uid);
            final IHeartbeat heartbeat = new Heartbeat(System
                .currentTimeMillis(), uid, jmxUrl0);
            while (true) {
              repository.update(heartbeat);
              Thread.sleep(IHeartbeat.INTERVAL);
            }
View Full Code Here

TOP

Related Classes of com.subhajit.processmanager.agent.heartbeat.Heartbeat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.