public class IndexedDiskElementDescriptor
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
int |
len
Number of bytes the serialized form of the cache data takes.
|
Constructor and Description |
---|
IndexedDiskElementDescriptor()
Constructor for the DiskElementDescriptor object
|
IndexedDiskElementDescriptor(long pos,
int len)
Constructs a usable disk element descriptor.
|
public IndexedDiskElementDescriptor()
public IndexedDiskElementDescriptor(long pos, int len)
pos
- len
- public void init(long pos, byte[] data)
pos
- data
- public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- ObjectCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.