|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Nested Class Summary | |
|---|---|
static class |
CachePolicy.Line
Opaque type used to reference line in cache. |
| Method Summary | |
|---|---|
boolean |
empty()
Are there any lines in here? |
void |
insert(CachePolicy.Line value)
Insert into loop and return pointer. |
void |
remove(CachePolicy.Line value)
Manually remove a line. |
CachePolicy.Line |
select_victim(boolean modified_ok)
Select the most appropriate line to remove. |
int |
size()
How many lines are in here? |
String |
toString()
Print out contents. |
| Method Detail |
public int size()
public boolean empty()
public void insert(CachePolicy.Line value)
public CachePolicy.Line select_victim(boolean modified_ok)
public void remove(CachePolicy.Line value)
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||