Constructor and Description |
---|
RequestQueue(int capacity)
Creates a new instance of RequestQueue
|
Modifier and Type | Method and Description |
---|---|
boolean |
lessThan(Server a,
Server b)
Test whether a is less than b..
|
Server |
popOrWait()
Wait unless we have a server that can be contacted now.
|
void |
push(Server o)
Insert a new object in the queue.
|
public RequestQueue(int capacity)
public boolean lessThan(Server a, Server b)
BiQueue
public void push(Server o)
BiQueue
public Server popOrWait()
Copyright © 2016 Egothor. All Rights Reserved.