|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.DbInternal
public class DbInternal
For internal use only. It serves to shelter methods that must be public to be used by other BDBJE packages but that are not part of the public api available to applications.
Constructor Summary | |
---|---|
DbInternal()
|
Method Summary | |
---|---|
static boolean |
advanceCursor(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data)
Proxy to Cursor.advanceCursor() |
static void |
checkImmutablePropsForEquality(EnvironmentMutableConfig config,
EnvironmentMutableConfig passedConfig)
Proxy to EnvironmentMutableConfig.checkImmutablePropsForEquality() |
static EnvironmentConfig |
cloneConfig(EnvironmentConfig config)
Proxy to EnvironmentConfig.cloneConfig() |
static EnvironmentMutableConfig |
cloneMutableConfig(EnvironmentMutableConfig config)
Proxy to EnvironmentMutableConfig.cloneMutableConfig() |
static void |
copyMutablePropsTo(EnvironmentMutableConfig config,
EnvironmentMutableConfig toConfig)
Proxy to EnvironmentMutableConfig.copyMutablePropsTo() |
static void |
databaseConfigValidate(DatabaseConfig config1,
DatabaseConfig config2)
Proxy to DatabaseConfig.match(DatabaseConfig() |
static boolean |
dataEquals(DatabaseEntry e1,
DatabaseEntry e2)
Proxy to DatabaseEntry.dataEquals() |
static DatabaseImpl |
dbGetDatabaseImpl(Database db)
Proxy to Database.getDatabase() |
static void |
dbInvalidate(Database db)
Proxy to Database.invalidate() |
static void |
dbSetHandleLocker(Database db,
Locker locker)
Proxy to Database.setHandleLockOwnerTxn |
static void |
disableParameterValidation(EnvironmentMutableConfig config)
Proxy to EnvironmentMutableConfig.validateParams. |
static EnvironmentImpl |
envGetEnvironmentImpl(Environment env)
Proxy to Environment.getDbEnvironment |
static boolean |
getCheckpointUP(EnvironmentConfig config)
Proxy to EnvironmentConfig.getCheckpointUP() |
static CursorImpl |
getCursorImpl(Cursor cursor)
Proxy to Cursor.getCursorImpl() |
static TransactionConfig |
getDefaultTxnConfig(Environment env)
Proxy to Environment.getDefaultTxnConfig() |
static Environment |
getEnvironmentShell(File environmentHome)
Get an Environment only if the environment is already open. |
static Locker |
getLocker(Transaction txn)
Proxy to Transaction.getLocker() |
static Cursor[] |
getSortedCursors(JoinCursor cursor)
Proxy to JoinCursor.getSortedCursors() |
static boolean |
getTxnReadCommitted(EnvironmentConfig config)
Proxy to EnvironmentConfig.setTxnReadCommitted() |
static Cursor |
newCursor(DatabaseImpl dbImpl,
Locker locker,
CursorConfig cursorConfig)
Proxy to new Cursor(DatabaseImpl, Locker, CursorConfig) |
static OperationStatus |
position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to new Cursor.position(). |
static OperationStatus |
retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
GetMode getMode)
Proxy to new Cursor.retrieveNext(). |
static void |
setCheckpointUP(EnvironmentConfig config,
boolean checkpointUP)
Proxy to EnvironmentConfig.setCheckpointUP() |
static void |
setLoadPropertyFile(EnvironmentConfig config,
boolean loadProperties)
Proxy to EnvironmentConfig.setLoadPropertyFile() |
static void |
setTxnReadCommitted(EnvironmentConfig config,
boolean txnReadCommitted)
Proxy to EnvironmentConfig.setTxnReadCommitted() |
static void |
setUseExistingConfig(DatabaseConfig config,
boolean useExistingConfig)
Proxy to DatabaseConfig.setUseExistingConfig() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbInternal()
Method Detail |
---|
public static void dbInvalidate(Database db)
public static void dbSetHandleLocker(Database db, Locker locker)
public static EnvironmentImpl envGetEnvironmentImpl(Environment env)
public static Cursor newCursor(DatabaseImpl dbImpl, Locker locker, CursorConfig cursorConfig) throws DatabaseException
DatabaseException
public static OperationStatus position(Cursor cursor, DatabaseEntry key, DatabaseEntry data, LockMode lockMode, boolean first) throws DatabaseException
DatabaseException
public static OperationStatus retrieveNext(Cursor cursor, DatabaseEntry key, DatabaseEntry data, LockMode lockMode, GetMode getMode) throws DatabaseException
DatabaseException
public static boolean advanceCursor(Cursor cursor, DatabaseEntry key, DatabaseEntry data)
public static CursorImpl getCursorImpl(Cursor cursor)
public static DatabaseImpl dbGetDatabaseImpl(Database db)
public static Cursor[] getSortedCursors(JoinCursor cursor)
public static void setLoadPropertyFile(EnvironmentConfig config, boolean loadProperties)
public static void setCheckpointUP(EnvironmentConfig config, boolean checkpointUP)
public static boolean getCheckpointUP(EnvironmentConfig config)
public static void setTxnReadCommitted(EnvironmentConfig config, boolean txnReadCommitted)
public static boolean getTxnReadCommitted(EnvironmentConfig config)
public static EnvironmentConfig cloneConfig(EnvironmentConfig config)
public static EnvironmentMutableConfig cloneMutableConfig(EnvironmentMutableConfig config)
public static void checkImmutablePropsForEquality(EnvironmentMutableConfig config, EnvironmentMutableConfig passedConfig) throws IllegalArgumentException
IllegalArgumentException
public static void copyMutablePropsTo(EnvironmentMutableConfig config, EnvironmentMutableConfig toConfig)
public static void disableParameterValidation(EnvironmentMutableConfig config)
public static void setUseExistingConfig(DatabaseConfig config, boolean useExistingConfig)
public static void databaseConfigValidate(DatabaseConfig config1, DatabaseConfig config2) throws DatabaseException
DatabaseException
public static boolean dataEquals(DatabaseEntry e1, DatabaseEntry e2)
public static Locker getLocker(Transaction txn) throws DatabaseException
DatabaseException
public static TransactionConfig getDefaultTxnConfig(Environment env)
public static Environment getEnvironmentShell(File environmentHome)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |