org.apache.jcs.auxiliary.disk.indexed
Class IndexedDiskElementDescriptor

java.lang.Object
  extended byorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskElementDescriptor
All Implemented Interfaces:
java.io.Serializable

public class IndexedDiskElementDescriptor
extends java.lang.Object
implements java.io.Serializable

Disk objects are located by descriptor entries. These are saved on shutdown and loaded into memory on startup.

Author:
asmuts
See Also:
Serialized Form

Field Summary
 int len
          Number of bytes the serialized form of the cache data takes.
(package private)  long pos
          Position of the cache data entry on disk.
 
Constructor Summary
IndexedDiskElementDescriptor()
          Constructor for the DiskElementDescriptor object
 
Method Summary
 void init(long pos, byte[] data)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pos

long pos
Position of the cache data entry on disk.


len

public int len
Number of bytes the serialized form of the cache data takes.

Constructor Detail

IndexedDiskElementDescriptor

public IndexedDiskElementDescriptor()
Constructor for the DiskElementDescriptor object

Method Detail

init

public void init(long pos,
                 byte[] data)
Description of the Method