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

Constructor Summary
PERF_TP()
Method Summary
booleandone()
voiddown(Event evt)
Caller by the layer above this layer.
static PERF_TPgetInstance()
StringgetName()
longgetNumMessages()
longgetTotalTime()
voidinit()
voidreset()
voidsetExpectedMessages(long m)
voidstart()
StringtoString()
voidup(Event evt)

Constructor Detail

PERF_TP

public PERF_TP()

Method Detail

done

public boolean done()

down

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).

getInstance

public static PERF_TP getInstance()

getName

public String getName()

getNumMessages

public long getNumMessages()

getTotalTime

public long getTotalTime()

init

public void init()

reset

public void reset()

setExpectedMessages

public void setExpectedMessages(long m)

start

public void start()

toString

public String toString()

up

public void up(Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.