|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbamboo.dht.fssim.Algorithm
bamboo.dht.fssim.FairRateAlgorithm
public class FairRateAlgorithm
| Nested Class Summary | |
|---|---|
static class |
FairRateAlgorithm.ClientInfo
|
| Nested classes/interfaces inherited from class bamboo.dht.fssim.Algorithm |
|---|
Algorithm.PutInfo, Algorithm.PutResultCb |
| Field Summary | |
|---|---|
HashMap |
clients
|
protected Random |
rand
|
protected boolean |
requested
|
protected boolean |
use_last_accept
|
protected int |
window_size
|
| Fields inherited from class bamboo.dht.fssim.Algorithm |
|---|
client_count, instance, pending_puts, period, sim, stop_time, storage_by_client, total_puts |
| Constructor Summary | |
|---|---|
FairRateAlgorithm(long p,
long t,
long seed,
boolean r)
|
|
| Method Summary | |
|---|---|
void |
process_pending_puts(LinkedList puts)
|
| Methods inherited from class bamboo.dht.fssim.Algorithm |
|---|
accept_put, all_puts_expired, enqueue_put, print_usage, remove_put, simulation_finished |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Random rand
protected int window_size
protected boolean requested
protected boolean use_last_accept
public HashMap clients
| Constructor Detail |
|---|
public FairRateAlgorithm(long p,
long t,
long seed,
boolean r)
| Method Detail |
|---|
public void process_pending_puts(LinkedList puts)
process_pending_puts in class Algorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||