|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.TestBase
org.h2.test.unit.TestCache
public class TestCache
Tests the cache.
| Field Summary |
|---|
| Fields inherited from class org.h2.test.TestBase |
|---|
BASE_TEST_DIR, config, start, TEMP_DIR, uniqueId |
| Constructor Summary | |
|---|---|
TestCache()
|
|
| Method Summary | |
|---|---|
void |
flushLog()
Flush the transaction log, so that entries can be removed from the cache. |
Trace |
getTrace()
Get the trace writer. |
static void |
main(java.lang.String... a)
Run just this test. |
void |
test()
This method will be called by the test framework. |
void |
writeBack(CacheObject entry)
Persist a record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestCache()
| Method Detail |
|---|
public static void main(java.lang.String... a)
throws java.lang.Exception
a - ignored
java.lang.Exception
public void test()
throws java.lang.Exception
TestBase
test in class TestBasejava.lang.Exception - if an exception in the test occurspublic void flushLog()
CacheWriter
flushLog in interface CacheWriterpublic Trace getTrace()
CacheWriter
getTrace in interface CacheWriterpublic void writeBack(CacheObject entry)
CacheWriter
writeBack in interface CacheWriterentry - the cache entry
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||