当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
EVENT_TRACE (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
org.jboss.javagroups.protocols
Class EVENT_TRACE
java.lang.Object
org.jgroups.stack.Protocol
org.jboss.javagroups.protocols.EVENT_TRACE
- public class EVENT_TRACE
- extends org.jgroups.stack.Protocol
A trival implementation of Protocol that traces all activity through
* it to its logger. This should be inserted between any two protocols
* you which to view the events between. Its supports a name property that
* allows you to insert the element multiple times in a stack to trace
* multiple protocols. An example config for the ClusterPartition for such
* a usage is:
*
JNDITestPartition
* @author Scott.Stark@jboss.org
* @version $Revision: 1.4 $
Fields inherited from class org.jgroups.stack.Protocol |
down_handler, down_prot, down_queue, down_thread, down_thread_prio, observer, props, stack, up_handler, up_prot, up_queue, up_thread, up_thread_prio |
Methods inherited from class org.jgroups.stack.Protocol |
destroy, getDownProtocol, getDownQueue, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, passDown, passUp, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, setDownProtocol, setObserver, setPropertiesInternal, setProtocolStack, setUpProtocol, start, startDownHandler, startUpHandler, stop, stopInternal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_TRACE
public EVENT_TRACE()
getName
public String getName()
setProperties
public boolean setProperties(Properties props)
- Parameters:
props
- * @return
up
public void up(org.jgroups.Event event)
down
public void down(org.jgroups.Event event)
printEventMsg
public String printEventMsg(org.jgroups.Message msg)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.