com.sleepycat.je.cleaner
Class LNInfo
java.lang.Object
com.sleepycat.je.cleaner.LNInfo
public final class LNInfo
- extends Object
The information necessary to lookup an LN. Used for pending LNs that are
locked and must be migrated later, or cannot be migrated immediately during
a split. Also used in a look ahead cache in FileProcessor.
Is public for Sizeof only.
Method Summary |
(package private) DatabaseId |
getDbId()
|
(package private) byte[] |
getKey()
|
(package private) LN |
getLN()
|
(package private) int |
getMemorySize()
Note that the dbId is not counted because it is shared with the
DatabaseImpl, where it is accounted for in the memory budget. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LNInfo
public LNInfo(LN ln,
DatabaseId dbId,
byte[] key)
getLN
LN getLN()
getDbId
DatabaseId getDbId()
getKey
byte[] getKey()
getMemorySize
int getMemorySize()
- Note that the dbId is not counted because it is shared with the
DatabaseImpl, where it is accounted for in the memory budget.
Copyright (c) 2004-2012 Oracle. All rights reserved.