|
Class BTreeFiler
|
| Inner Class Summary | |
|---|---|
private static class |
BTreeFilerHeader |
private static class |
BTreeFilerPageHeader |
private final static class |
BTreeFilerRecordSet |
| Field Summary | |
|---|---|
private long |
|
private long |
|
private long |
|
private long |
|
private long |
|
private Iterator |
|
private List |
|
private final static int |
|
private BTreeFiler.BTreeFilerHeader |
|
private final static short |
|
private final static short |
|
protected final static byte |
|
| Constructor Summary | |
|---|---|
public |
|
public |
|
public |
BTreeFilerHeader(boolean read) |
public |
BTreeFilerHeader(long pageCount) |
public |
BTreeFilerHeader(long pageCount, int pageSize) |
public |
|
public |
BTreeFilerPageHeader(DataInputStream dis) |
public |
|
| Method Summary | |
|---|---|
public synchronized long |
The total number of bytes in use by the file |
public synchronized void |
read(RandomAccessFile raf) |
public synchronized void |
setTotalBytes(long totalBytes) The total number of bytes in use by the file |
public synchronized void |
write(RandomAccessFile raf) |
public synchronized long |
UNIX-time when this record was created |
public synchronized long |
JXTA-expiration this record's expiration |
public synchronized long |
JXTA-lifetime this record's lifetime |
public synchronized long |
UNIX-time when this record was last modified |
public synchronized void |
read(DataInputStream dis) |
public synchronized void |
setCreated(long created) UNIX-time when this record was created |
public synchronized void |
setExpiration(long expiration) JXTA-expiration this record's expiration |
public synchronized void |
setLifetime(long lifetime) JXTA-lifetime this record's lifetime |
public synchronized void |
setModified(long modified) UNIX-time when this record was last modified |
public synchronized void |
setRecordLen(int recordLen) |
public synchronized void |
write(DataOutputStream dos) |
public synchronized Key |
|
public synchronized Record |
|
public synchronized Value |
|
public synchronized boolean |
|
public synchronized boolean |
|
public boolean |
create() |
public FileHeader |
|
public FileHeader |
createFileHeader(boolean read) |
public FileHeader |
createFileHeader(long pageCount) |
public FileHeader |
createFileHeader(long pageCount, int pageSize) |
public PageHeader |
|
public boolean |
deleteRecord(Key key) |
public void |
flush() |
public String |
getName() |
public long |
|
public RecordSet |
|
public boolean |
open() |
public Record |
readRecord(long pos) |
public Record |
readRecord(Key key) |
public void |
setLocation(String dir, String file) |
public long |
writeRecord(long pos, Value value) |
public long |
|
public long |
|
| Field Detail |
| Constructor Detail |
| Method Detail |