Uses of Class
org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskElementDescriptor
Packages that use IndexedDiskElementDescriptor
-
Uses of IndexedDiskElementDescriptor in org.apache.commons.jcs3.auxiliary.disk.indexed
Methods in org.apache.commons.jcs3.auxiliary.disk.indexed that return IndexedDiskElementDescriptorModifier and TypeMethodDescriptionIndexedDiskCache.LRUMapSizeLimited.put(K key, IndexedDiskElementDescriptor value) Methods in org.apache.commons.jcs3.auxiliary.disk.indexed with parameters of type IndexedDiskElementDescriptorModifier and TypeMethodDescriptionprotected voidIndexedDiskCache.addToRecycleBin(IndexedDiskElementDescriptor ded) Add descriptor to recycle bin if it is not null.protected booleanIndexedDiskCache.checkForDedOverlaps(IndexedDiskElementDescriptor[] sortedDescriptors) Detects any overlapping elements.intIndexedDiskCache.PositionComparator.compare(IndexedDiskElementDescriptor ded1, IndexedDiskElementDescriptor ded2) Deprecated.Compares two descriptors based on position.intIndexedDiskElementDescriptor.compareTo(IndexedDiskElementDescriptor o) Compares based on length, then on pos descending.protected voidIndexedDisk.move(IndexedDiskElementDescriptor ded, long newPosition) Moves the data stored from one position to another.protected voidIndexedDiskCache.LRUMapCountLimited.processRemovedLRU(K key, IndexedDiskElementDescriptor value) This is called when the may key size is reached.protected voidIndexedDiskCache.LRUMapSizeLimited.processRemovedLRU(K key, IndexedDiskElementDescriptor value) This is called when the may key size is reached.IndexedDiskCache.LRUMapSizeLimited.put(K key, IndexedDiskElementDescriptor value) protected <T> TIndexedDisk.readObject(IndexedDiskElementDescriptor ded) This reads an object from the given starting position on the file.protected booleanIndexedDisk.write(IndexedDiskElementDescriptor ded, byte[] data) Writes the given byte array to the Disk at the specified position.