public abstract class KeyValueStoreTest extends AbstractKCVSTest
| Modifier and Type | Field and Description |
|---|---|
protected OrderedKeyValueStoreManager |
manager |
protected OrderedKeyValueStore |
store |
protected StoreTransaction |
tx |
times| Constructor and Description |
|---|
KeyValueStoreTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSlice(String[] values,
Set<Integer> removed,
int start,
int end,
int limit) |
void |
checkValueExistence(String[] values) |
void |
checkValueExistence(String[] values,
Set<Integer> removed) |
void |
checkValues(String[] values) |
void |
checkValues(String[] values,
Set<Integer> removed) |
void |
clopen() |
void |
close() |
void |
createDatabase() |
Set<Integer> |
deleteValues(int start,
int every) |
void |
deletionTest1() |
void |
deletionTest2() |
String[] |
generateValues() |
void |
intervalTest1() |
void |
loadValues(String[] values) |
void |
open() |
abstract OrderedKeyValueStoreManager |
openStorageManager() |
void |
scanTest() |
void |
setUp() |
void |
storeAndRetrieve() |
void |
storeAndRetrieveWithClosing() |
void |
tearDown() |
getConsistentTxConfig, getTxConfigprotected OrderedKeyValueStoreManager manager
protected StoreTransaction tx
protected OrderedKeyValueStore store
public void open()
throws BackendException
BackendExceptionpublic abstract OrderedKeyValueStoreManager openStorageManager() throws BackendException
BackendExceptionpublic void close()
throws BackendException
BackendExceptionpublic void clopen()
throws BackendException
BackendExceptionpublic void createDatabase()
public String[] generateValues()
public void loadValues(String[] values) throws BackendException
BackendExceptionpublic Set<Integer> deleteValues(int start, int every) throws BackendException
BackendExceptionpublic void checkValueExistence(String[] values) throws BackendException
BackendExceptionpublic void checkValueExistence(String[] values, Set<Integer> removed) throws BackendException
BackendExceptionpublic void checkValues(String[] values) throws BackendException
BackendExceptionpublic void checkValues(String[] values, Set<Integer> removed) throws BackendException
BackendExceptionpublic void storeAndRetrieve()
throws BackendException
BackendExceptionpublic void storeAndRetrieveWithClosing()
throws BackendException
BackendExceptionpublic void deletionTest1()
throws BackendException
BackendExceptionpublic void deletionTest2()
throws BackendException
BackendExceptionpublic void scanTest()
throws BackendException
BackendExceptionpublic void checkSlice(String[] values, Set<Integer> removed, int start, int end, int limit) throws BackendException
BackendExceptionpublic void intervalTest1()
throws BackendException
BackendExceptionCopyright © 2012–2016. All rights reserved.