Rice Pastry API

rice.selector
Interface LoopObserver

All Known Implementing Classes:
ConsistentJoinProtocol

public interface LoopObserver

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

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

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