public final class ChunkCache
extends java.lang.Object
| Constructor and Description |
|---|
ChunkCache() |
ChunkCache(long maxSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk chunk,
boolean locked) |
long |
getMaxSize()
Returns the maximum size of the chunk cache in bytes.
|
static ChunkCache |
getSharedInstance() |
void |
remove(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk chunk) |
void |
setMaxSize(long maxSize)
Clears the page table and changes it to hold chunks with
maximum total memory of
maxSize. |
public static ChunkCache getSharedInstance()
public void add(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk chunk,
boolean locked)
public void remove(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk chunk)
public long getMaxSize()
public void setMaxSize(long maxSize)
maxSize.maxSize - the total size of the chunks in bytes.