|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.stack.Protocol
org.jboss.javagroups.protocols.EVENT_TRACE
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: *
* @author Scott.Stark@jboss.org * @version $Revision: 1.4 $JNDITestPartition
Field Summary |
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 |
Constructor Summary | |
EVENT_TRACE()
|
Method Summary | |
void |
down(org.jgroups.Event event)
|
String |
getName()
|
String |
printEventMsg(org.jgroups.Message msg)
|
boolean |
setProperties(Properties props)
|
void |
up(org.jgroups.Event event)
|
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 |
Constructor Detail |
public EVENT_TRACE()
Method Detail |
public String getName()
public boolean setProperties(Properties props)
props
- * @returnpublic void up(org.jgroups.Event event)
public void down(org.jgroups.Event event)
public String printEventMsg(org.jgroups.Message msg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |