public class T_RecoverFullLog extends T_Generic
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.derby.iapi.services.context.ContextService |
contextService |
(package private) org.apache.derby.iapi.store.raw.RawStoreFactory |
factory |
private boolean |
fillLog |
private java.io.RandomAccessFile |
infofile |
private static java.lang.String |
infoPath |
(package private) org.apache.derby.iapi.services.locks.LockFactory |
lf |
private boolean |
logSwitchFail |
(package private) static java.lang.String |
REC_001 |
(package private) static java.lang.String |
REC_002 |
(package private) static java.lang.String |
REC_003 |
(package private) static java.lang.String |
REC_004 |
(package private) static java.lang.String |
REC_005 |
(package private) static java.lang.String |
REC_006 |
(package private) static java.lang.String |
REC_UNDO |
private boolean |
recover |
private boolean |
recoveryFail |
(package private) static java.lang.String |
SP1 |
(package private) static java.lang.String |
SP2 |
(package private) T_Util |
t_util |
private java.lang.String |
TEST_FILL_LOG |
private static java.lang.String |
TEST_FULL_LOG_INFO |
private java.lang.String |
TEST_FULL_RECOVER |
private java.lang.String |
TEST_FULL_RECOVER_FAIL |
private java.lang.String |
TEST_LOG_SWITCH_FAIL |
private static java.lang.String |
testService |
out, shortModuleToTestName, startParams| Constructor and Description |
|---|
T_RecoverFullLog() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRecovery() |
private static java.lang.Object |
createPersistentService(java.lang.String factoryInterface,
java.lang.String serviceName,
java.util.Properties properties)
Privileged startup.
|
protected void |
fillUpLog() |
private long |
find(long inkey) |
private static java.lang.Object |
findService(java.lang.String factoryInterface,
java.lang.String serviceName)
Privileged service lookup.
|
private void |
getConfig() |
private static org.apache.derby.iapi.services.context.ContextService |
getContextService()
Privileged lookup of the ContextService.
|
java.lang.String |
getModuleToTestProtocolName()
Get the name of the protocol for the module to test.
|
private long |
key(int test,
int param) |
protected void |
logSwitchFail1() |
protected void |
logSwitchFail2() |
private void |
register(long key,
long value) |
void |
runTests()
See T_Recovery for the general testing frame work
|
private static boolean |
startPersistentService(java.lang.String serviceName,
java.util.Properties properties)
Privileged startup.
|
protected void |
testBasic(int testNumber) |
boot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestTypeprivate static final java.lang.String testService
static final java.lang.String REC_001
static final java.lang.String REC_002
static final java.lang.String REC_003
static final java.lang.String REC_004
static final java.lang.String REC_005
static final java.lang.String REC_006
static final java.lang.String REC_UNDO
static final java.lang.String SP1
static final java.lang.String SP2
private java.io.RandomAccessFile infofile
private static final java.lang.String infoPath
private boolean fillLog
private boolean recoveryFail
private boolean logSwitchFail
private boolean recover
private java.lang.String TEST_FILL_LOG
private java.lang.String TEST_FULL_RECOVER_FAIL
private java.lang.String TEST_LOG_SWITCH_FAIL
private java.lang.String TEST_FULL_RECOVER
private static final java.lang.String TEST_FULL_LOG_INFO
org.apache.derby.iapi.store.raw.RawStoreFactory factory
org.apache.derby.iapi.services.locks.LockFactory lf
org.apache.derby.iapi.services.context.ContextService contextService
T_Util t_util
public java.lang.String getModuleToTestProtocolName()
T_GenericgetModuleToTestProtocolName in class T_Genericprivate void getConfig()
public void runTests()
throws T_Fail
private long find(long inkey)
private long key(int test,
int param)
protected void testBasic(int testNumber)
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void fillUpLog()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void logSwitchFail1()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void logSwitchFail2()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void checkRecovery()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprivate static org.apache.derby.iapi.services.context.ContextService getContextService()
private static java.lang.Object findService(java.lang.String factoryInterface,
java.lang.String serviceName)
private static boolean startPersistentService(java.lang.String serviceName,
java.util.Properties properties)
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionprivate static java.lang.Object createPersistentService(java.lang.String factoryInterface,
java.lang.String serviceName,
java.util.Properties properties)
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.