|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.db.index.IndexCache
public final class IndexCache
Manages the block cache
Method Summary | |
---|---|
static IndexCache |
create()
Returns the block manager, ensuring a minimum number of entries. |
void |
delete(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Remove the index entry. |
static IndexCache |
getCurrent()
|
void |
insert(BTree btree,
byte[] buffer,
int offset,
int length,
long value,
DbTransaction xa)
Gets the index entry. |
long |
lookup(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Gets the index entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IndexCache create()
public static IndexCache getCurrent()
public long lookup(BTree btree, byte[] buffer, int offset, int length, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public void insert(BTree btree, byte[] buffer, int offset, int length, long value, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public void delete(BTree btree, byte[] buffer, int offset, int length, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |