public abstract class TitanOperationCountingTest extends TitanGraphBaseTest
TitanGraphBaseTest.TestConfigOption| Modifier and Type | Field and Description |
|---|---|
MetricManager |
metric |
static List<String> |
STORE_NAMES |
String |
SYSTEM_METRICS |
adjustedConfig, config, DEFAULT_THREAD_COUNT, features, graph, logManagers, mgmt, tx| Constructor and Description |
|---|
TitanOperationCountingTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFastPropertyAndLocking(boolean fastProperty) |
void |
checkFastPropertyFalse() |
void |
checkFastPropertyTrue() |
abstract WriteConfiguration |
getBaseConfiguration() |
WriteConfiguration |
getConfiguration() |
void |
open(WriteConfiguration config) |
void |
printAllMetrics() |
void |
printAllMetrics(String prefix) |
abstract boolean |
storeUsesConsistentKeyLocker() |
void |
testCacheConcurrency() |
void |
testCacheSpeedup()
Tests cache performance
TODO: move to benchmarks
|
void |
testIdCounts() |
void |
testKCVSAccess1() |
void |
testKCVSAccess2() |
void |
testReadOperations() |
void |
testReadOperations(boolean cache) |
void |
testReadOperationsWithCache() |
void |
testSettingProperty() |
void |
verifyStoreMetrics(String storeName) |
void |
verifyStoreMetrics(String storeName,
Map<String,Long> operationCounts) |
void |
verifyStoreMetrics(String storeName,
String prefix,
Map<String,Long> operationCounts) |
void |
verifyTypeCacheMetrics(int nameRetrievals,
int nameMisses,
int relationRetrievals,
int relationMisses) |
void |
verifyTypeCacheMetrics(String prefix,
int nameRetrievals,
int nameMisses,
int relationRetrievals,
int relationMisses) |
clopen, close, closeLogManager, createExternalEdgeIndex, createExternalVertexIndex, finishSchema, getConfig, getExternalIndex, getThreadCount, getVertex, getVertex, getVertex, getVertex, makeKey, makeKeyedEdgeLabel, makeLabel, makeVertexIndexedKey, makeVertexIndexedUniqueKey, newTx, openTxLog, openUserLog, option, round, setUp, tearDown, wrapAroundpublic MetricManager metric
public final String SYSTEM_METRICS
public abstract WriteConfiguration getBaseConfiguration()
public abstract boolean storeUsesConsistentKeyLocker()
public WriteConfiguration getConfiguration()
getConfiguration in class TitanGraphBaseTestpublic void open(WriteConfiguration config)
open in class TitanGraphBaseTestpublic void testIdCounts()
public void testReadOperations()
public void testReadOperationsWithCache()
public void testReadOperations(boolean cache)
public void testKCVSAccess1()
throws InterruptedException
InterruptedExceptionpublic void testKCVSAccess2()
throws InterruptedException
InterruptedExceptionpublic void checkFastPropertyTrue()
public void checkFastPropertyFalse()
public void checkFastPropertyAndLocking(boolean fastProperty)
public void verifyStoreMetrics(String storeName)
public void verifyStoreMetrics(String storeName, Map<String,Long> operationCounts)
public void verifyStoreMetrics(String storeName, String prefix, Map<String,Long> operationCounts)
public void verifyTypeCacheMetrics(int nameRetrievals,
int nameMisses,
int relationRetrievals,
int relationMisses)
public void verifyTypeCacheMetrics(String prefix, int nameRetrievals, int nameMisses, int relationRetrievals, int relationMisses)
public void printAllMetrics()
public void printAllMetrics(String prefix)
public void testCacheConcurrency()
throws InterruptedException
InterruptedExceptionpublic void testCacheSpeedup()
Copyright © 2012–2016. All rights reserved.