org.jgroups.protocols
Class PERF_TP
public
class
PERF_TP
extends Protocol
Measures the time for a message to travel from the channel to the transport
Version: $Id: PERF_TP.java,v 1.11 2005/08/11 12:43:47 belaban Exp $
Author: Bela Ban
public PERF_TP()
public boolean done()
public void down(
Event evt)
Caller by the layer above this layer. Usually we just put this Message
into the send queue and let one or more worker threads handle it. A worker thread
then removes the Message from the send queue, performs a conversion and adds the
modified Message to the send queue of the layer below it, by calling Down).
public static
PERF_TP getInstance()
public String getName()
public long getNumMessages()
public long getTotalTime()
public void init()
public void reset()
public void setExpectedMessages(long m)
public void start()
public String toString()
public void up(
Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.