public final class PageCache
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
PageCache()
The private default constructor.
|
Modifier and Type | Method and Description |
---|---|
static int |
getCapacity()
Returns the capacity of the page cache.
|
static void |
setCapacity(int capacity)
Sets the capacity of the page cache.
|
private static int |
twkGetCapacity() |
private static void |
twkSetCapacity(int capacity) |
private PageCache()
public static int getCapacity()
public static void setCapacity(int capacity)
capacity
- specifies the new capacity of the page cache, in pages.java.lang.IllegalArgumentException
- if capacity
is negative.private static int twkGetCapacity()
private static void twkSetCapacity(int capacity)