|
||||||||||
| 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(IndexedDiskElementDescriptor o)
Compares based on length. |
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 Objectpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object o)
equals in class ObjectObject.equals(java.lang.Object)public int compareTo(IndexedDiskElementDescriptor o)
compareTo in interface Comparable<IndexedDiskElementDescriptor>o - Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||