Rice Pastry API

rice.selector
Interface LoopObserver

All Known Implementing Classes:
ConsistentJoinProtocol

public interface LoopObserver

Version:
$Id: pretty.settings,v 1.3 2005/03/11 20:22:33 jeffh Exp $
Author:
Jeff Hoye

Method Summary
 int delayInterest()
          If you want to hear about loops that took longer than 5 seconds, return 5000.
 void loopTime(int loopTime)
           
 

Method Detail

delayInterest

public int delayInterest()
If you want to hear about loops that took longer than 5 seconds, return 5000.

Returns:
the minimum time (in millis) you are interested in hearing about.

loopTime

public void loopTime(int loopTime)
Parameters:
loopTime - the time it took to do a full loop in millis.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection