public class MetricStore extends com.thinkaurelius.titan.diskstorage.util.MetricInstrumentedStore implements AwsStore
| Constructor and Description |
|---|
MetricStore(AwsStore delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MutateWorker> |
createMutationWorkers(java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVMutation> mutationMap,
DynamoDBStoreTransaction txh)
Creates workers whose job it is to commit the actual mutations in the given mutation map.
|
void |
deleteStore()
Deletes the KCV store and underlying DynamoDB tables.
|
void |
ensureStore()
Creates the KCV store and underlying DynamoDB tables.
|
java.lang.String |
getTableName()
Titan relies on static store names to be used, but we want the ability to
have multiple graphs in a single region, so prepend a configurable prefix to the
underlying table names of each graph and get the DynamoDB table name with this method
|
acquireLock, close, getKeys, getKeys, getName, getSlice, getSlice, mutatepublic MetricStore(AwsStore delegate)
public void deleteStore()
throws com.thinkaurelius.titan.diskstorage.BackendException
AwsStoredeleteStore in interface AwsStorecom.thinkaurelius.titan.diskstorage.BackendExceptionpublic void ensureStore()
throws com.thinkaurelius.titan.diskstorage.BackendException
AwsStoreensureStore in interface AwsStorecom.thinkaurelius.titan.diskstorage.BackendException - if unable to ensure the underlying storepublic java.lang.String getTableName()
AwsStoregetTableName in interface AwsStorepublic java.util.Collection<MutateWorker> createMutationWorkers(java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVMutation> mutationMap, DynamoDBStoreTransaction txh)
AwsStorecreateMutationWorkers in interface AwsStore