public class DBObjectArchiveDataLoader extends java.lang.Object implements ArchiveDataLoader
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.atomic.AtomicLong |
DATABASE_HITS
the database hits for archive
|
static boolean |
DISABLE_TRANS_HEADER_READ_AHEAD
disabled the transaction read ahead
|
static java.lang.String |
PROPERTY_DISABLE_TRANS_HEADER_READ_AHEAD
The property to disable the transaction read ahead
|
static java.lang.String |
PROPERTY_TRANS_HEADER_READ_NUMBER
The property to disable the transaction read ahead
|
static int |
TRANS_HEADER_READ_NUMBER
disabled the transaction read ahead
|
Constructor and Description |
---|
DBObjectArchiveDataLoader(VirtualDB layer,
DBClass baseClass,
TransHeader maxTransaction) |
Modifier and Type | Method and Description |
---|---|
ArchiveLayerData |
findFilteredLayerData(long rowId,
Hint hint,
TransHeader[] exclude,
boolean doNotUseCurrentData,
boolean allowCache)
{@inheritDoc
|
public static final java.lang.String PROPERTY_DISABLE_TRANS_HEADER_READ_AHEAD
public static final boolean DISABLE_TRANS_HEADER_READ_AHEAD
public static final java.lang.String PROPERTY_TRANS_HEADER_READ_NUMBER
public static final int TRANS_HEADER_READ_NUMBER
public static final java.util.concurrent.atomic.AtomicLong DATABASE_HITS
public DBObjectArchiveDataLoader(VirtualDB layer, DBClass baseClass, TransHeader maxTransaction)
layer
- the layerbaseClass
- the base classmaxTransaction
- the max transactionpublic ArchiveLayerData findFilteredLayerData(long rowId, Hint hint, TransHeader[] exclude, boolean doNotUseCurrentData, boolean allowCache) throws java.lang.Exception
findFilteredLayerData
in interface ArchiveDataLoader
rowId
- the row UIDhint
- the hintexclude
- the excluded transactionsdoNotUseCurrentData
- do not use the current data ( recovery mode)allowCache
- should we allow cached results ?java.lang.Exception}
java.lang.Exception
- a serious problem has occurred.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.