|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskElementDescriptor
public class IndexedDiskElementDescriptor
Disk objects are located by descriptor entries. These are saved on shutdown and loaded into memory on startup.
Field Summary | |
---|---|
int |
len
Number of bytes the serialized form of the cache data takes. |
Constructor Summary | |
---|---|
IndexedDiskElementDescriptor(long pos,
int len)
Constructs a usable disk element descriptor. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compares based on length. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int len
Constructor Detail |
---|
public IndexedDiskElementDescriptor(long pos, int len)
pos
- len
- Method Detail |
---|
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
o
- Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |