Package | Description |
---|---|
org.apache.commons.jcs3.auxiliary.disk.indexed |
Modifier and Type | Method and Description |
---|---|
IndexedDiskElementDescriptor |
IndexedDiskCache.LRUMapSizeLimited.put(K key,
IndexedDiskElementDescriptor value) |
IndexedDiskElementDescriptor |
IndexedDiskCache.LRUMapSizeLimited.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
protected void |
IndexedDiskCache.addToRecycleBin(IndexedDiskElementDescriptor ded)
Add descriptor to recycle bin if it is not null.
|
protected boolean |
IndexedDiskCache.checkForDedOverlaps(IndexedDiskElementDescriptor[] sortedDescriptors)
Detects any overlapping elements.
|
int |
IndexedDiskCache.PositionComparator.compare(IndexedDiskElementDescriptor ded1,
IndexedDiskElementDescriptor ded2)
Deprecated.
Compares two descriptors based on position.
|
int |
IndexedDiskElementDescriptor.compareTo(IndexedDiskElementDescriptor o)
Compares based on length, then on pos descending.
|
protected void |
IndexedDisk.move(IndexedDiskElementDescriptor ded,
long newPosition)
Moves the data stored from one position to another.
|
protected void |
IndexedDiskCache.LRUMapSizeLimited.processRemovedLRU(K key,
IndexedDiskElementDescriptor value)
This is called when the may key size is reached.
|
protected void |
IndexedDiskCache.LRUMapCountLimited.processRemovedLRU(K key,
IndexedDiskElementDescriptor value)
This is called when the may key size is reached.
|
IndexedDiskElementDescriptor |
IndexedDiskCache.LRUMapSizeLimited.put(K key,
IndexedDiskElementDescriptor value) |
protected <T> T |
IndexedDisk.readObject(IndexedDiskElementDescriptor ded)
This reads an object from the given starting position on the file.
|
protected boolean |
IndexedDisk.write(IndexedDiskElementDescriptor ded,
byte[] data)
Writes the given byte array to the Disk at the specified position.
|
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.