Class BasicOperations
java.lang.Object
com.playtika.janusgraph.aerospike.operations.BasicOperations
- All Implemented Interfaces:
Operations
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBasicOperations(org.janusgraph.diskstorage.configuration.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionnosql.batch.update.BatchUpdater<BatchLocks,BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> protected AerospikeOperationsbuildAerospikeOperations(org.janusgraph.diskstorage.configuration.Configuration configuration) protected nosql.batch.update.BatchOperations<BatchLocks,BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> buildBatchOperations(AerospikeOperations aerospikeOperations, WalOperations walOperations, Clock clock, ExecutorService executorService, ExecutorService batchExecutorService) protected MutateOperationsbuildMutateOperations(AerospikeOperations aerospikeOperations) protected AerospikePolicyProviderbuildPolicyProvider(org.janusgraph.diskstorage.configuration.Configuration configuration) protected ReadOperationsbuildReadOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) protected ScanOperationsbuildScanOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) protected WalOperationsbuildWalOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) protected nosql.batch.update.wal.WriteAheadLogCompleter<BatchLocks,BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> buildWriteAheadLogCompleter(WalOperations walOperations, nosql.batch.update.BatchOperations<BatchLocks, BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> batchOperations) voidclose()static ExecutorServiceexecutorService(int maxThreads, int queueCapacity, String prefix) static ExecutorServiceexecutorService(int maxThreads, String prefix) protected ClockgetClock()getIdsCleanupOperations(String storeName) nosql.batch.update.wal.WriteAheadLogCompleter<BatchLocks,BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value>
-
Field Details
-
JANUS_GROUP_NAME
- See Also:
-
AEROSPIKE_PREFIX
- See Also:
-
BATCH_PREFIX
- See Also:
-
IDS_CLEANUP_PREFIX
- See Also:
-
-
Constructor Details
-
BasicOperations
public BasicOperations(org.janusgraph.diskstorage.configuration.Configuration configuration)
-
-
Method Details
-
buildBatchOperations
protected nosql.batch.update.BatchOperations<BatchLocks,BatchUpdates, buildBatchOperationsnosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> (AerospikeOperations aerospikeOperations, WalOperations walOperations, Clock clock, ExecutorService executorService, ExecutorService batchExecutorService) -
getAerospikeOperations
- Specified by:
getAerospikeOperationsin interfaceOperations
-
batchUpdater
public nosql.batch.update.BatchUpdater<BatchLocks,BatchUpdates, batchUpdater()nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> - Specified by:
batchUpdaterin interfaceOperations
-
getWriteAheadLogCompleter
public nosql.batch.update.wal.WriteAheadLogCompleter<BatchLocks,BatchUpdates, getWriteAheadLogCompleter()nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> - Specified by:
getWriteAheadLogCompleterin interfaceOperations
-
mutateOperations
- Specified by:
mutateOperationsin interfaceOperations
-
getReadOperations
- Specified by:
getReadOperationsin interfaceOperations
-
getScanOperations
- Specified by:
getScanOperationsin interfaceOperations
-
buildPolicyProvider
protected AerospikePolicyProvider buildPolicyProvider(org.janusgraph.diskstorage.configuration.Configuration configuration) -
buildAerospikeOperations
protected AerospikeOperations buildAerospikeOperations(org.janusgraph.diskstorage.configuration.Configuration configuration) -
buildWalOperations
protected WalOperations buildWalOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) -
getClock
-
buildMutateOperations
-
buildWriteAheadLogCompleter
protected nosql.batch.update.wal.WriteAheadLogCompleter<BatchLocks,BatchUpdates, buildWriteAheadLogCompleternosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> (WalOperations walOperations, nosql.batch.update.BatchOperations<BatchLocks, BatchUpdates, nosql.batch.update.aerospike.lock.AerospikeLock, com.aerospike.client.Value> batchOperations) -
buildReadOperations
protected ReadOperations buildReadOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) -
buildScanOperations
protected ScanOperations buildScanOperations(org.janusgraph.diskstorage.configuration.Configuration configuration, AerospikeOperations aerospikeOperations) -
close
public void close()- Specified by:
closein interfaceOperations
-
getIdsCleanupOperations
- Specified by:
getIdsCleanupOperationsin interfaceOperations
-
executorService
-
executorService
-