|
Lightweight Bartering Grid | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlbg.peer.register.bartering.IntervalStore
public class IntervalStore
| Constructor Summary | |
|---|---|
IntervalStore(int ivn,
int ilen)
|
|
| Method Summary | |
|---|---|
double |
getMeanIntervalSize()
|
void |
storeTimestamp(long t)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntervalStore(int ivn,
int ilen)
throws GridException
ivn - number of intervals to store (> 0)ilen - length of each interval, expressed in time units (> 0)
GridException - if a parameter is illegal| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public void storeTimestamp(long t)
throws GridException
GridExceptionpublic double getMeanIntervalSize()
|
Lightweight Bartering Grid | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.