站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

Heartbeat (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.jmx.adaptor.snmp.agent
Class Heartbeat

java.lang.Object
  extended byorg.jboss.jmx.adaptor.snmp.agent.Heartbeat

public class Heartbeat
extends Object

Heartbeat auxiliary class implementing agent heartbeat schedulling and emission setup

Version:
$Revision: 1.3.6.1 $
Author:
Spyros Pollatos, Dimitris Andreadis

Field Summary
static String NOTIFICATION_MSG
          The notification message field
 
Constructor Summary
Heartbeat(javax.management.MBeanServer agent, javax.management.ObjectName timer, long interval)
          CTOR
 
Method Summary
 void start()
          Setup the production of heart-beat notifications
 void stop()
          Disable heartbeat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATION_MSG

public static final String NOTIFICATION_MSG
The notification message field

See Also:
Constant Field Values
Constructor Detail

Heartbeat

public Heartbeat(javax.management.MBeanServer agent,
                 javax.management.ObjectName timer,
                 long interval)
CTOR

Method Detail

start

public void start()
           throws Exception
Setup the production of heart-beat notifications

Throws:
Exception

stop

public void stop()
          throws Exception
Disable heartbeat

Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.