org.paneris.bibliomania.fti
Class DbUtils
java.lang.Object
org.paneris.bibliomania.fti.DbUtils
public class DbUtils
- extends java.lang.Object
Method Summary |
static com.sleepycat.db.OperationStatus |
get(com.sleepycat.db.Cursor cursor,
com.sleepycat.db.DatabaseEntry key,
com.sleepycat.db.DatabaseEntry value,
int flags,
int estimate)
|
static com.sleepycat.db.OperationStatus |
get(com.sleepycat.db.Database Database,
com.sleepycat.db.DatabaseEntry key,
com.sleepycat.db.DatabaseEntry value,
int estimate)
|
static void |
main(java.lang.String[] args)
|
static com.sleepycat.db.Database |
openOrCreateBTreeDb(java.io.File dir,
java.lang.String name,
int cacheSize)
|
static void |
setUserMem(com.sleepycat.db.DatabaseEntry databaseEntry,
byte[] data)
|
static void |
setUserMem(com.sleepycat.db.DatabaseEntry databaseEntry,
int size)
|
static com.sleepycat.db.DatabaseEntry |
userMemDatabaseEntry(byte[] data)
|
static com.sleepycat.db.DatabaseEntry |
userMemDatabaseEntry(int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbUtils
public DbUtils()
setUserMem
public static void setUserMem(com.sleepycat.db.DatabaseEntry databaseEntry,
int size)
setUserMem
public static void setUserMem(com.sleepycat.db.DatabaseEntry databaseEntry,
byte[] data)
userMemDatabaseEntry
public static com.sleepycat.db.DatabaseEntry userMemDatabaseEntry(int size)
userMemDatabaseEntry
public static com.sleepycat.db.DatabaseEntry userMemDatabaseEntry(byte[] data)
get
public static com.sleepycat.db.OperationStatus get(com.sleepycat.db.Database Database,
com.sleepycat.db.DatabaseEntry key,
com.sleepycat.db.DatabaseEntry value,
int estimate)
get
public static com.sleepycat.db.OperationStatus get(com.sleepycat.db.Cursor cursor,
com.sleepycat.db.DatabaseEntry key,
com.sleepycat.db.DatabaseEntry value,
int flags,
int estimate)
openOrCreateBTreeDb
public static com.sleepycat.db.Database openOrCreateBTreeDb(java.io.File dir,
java.lang.String name,
int cacheSize)
throws java.io.IOException,
com.sleepycat.db.DatabaseException
- Throws:
java.io.IOException
com.sleepycat.db.DatabaseException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2000-2009 PanEris. All Rights Reserved.