public abstract class Policy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
associativity
The associativity.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Policy(int associativity)
Constructs a data replacement controller.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accessLine(int index)
Handles a buffer hit.
|
abstract int |
chooseVictim()
Handles a buffer miss.
|