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

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

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

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

See Also:
Serialized Form

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

Field Detail

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

Parameters:
pos -
data -

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object o)
compareTo

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - Object
Returns:
int


Copyright © 2002-2005 Apache Software Foundation. All Rights Reserved.