Package com.qfs.multiversion
Interface IAsyncTransactionalMultiVersion
- All Superinterfaces:
IMultiVersion,IMultiVersionOperations,ITransactionalMultiVersion
- All Known Subinterfaces:
IMultiVersionAggregateProvider,IMultiVersionAggregateProviderHolder,IMultiVersionGlobalAggregateProvider
- All Known Implementing Classes:
AAsyncTransactionalMultiVersion,AMultiVersionAggregateProvider,AMultiVersionGlobalAggregateProvider,AMultiVersionIndexedAggregateProvider,AMultiVersionPartitionedAggregateProvider,AMultiVersionPartitionedIndexedAggregateProvider,DistributedAggregateProvider,DistributedMultiVersionAggregateProviderHolder,DummyAggregateProvider,MultiVersionAggregateProviderHolder,MultiVersionBitmapAggregateProvider,MultiVersionLeafAggregateProvider,MultiVersionPartitionedBitmapAggregateProvider,MultiVersionPartitionedLeafAggregateProvider,MultiVersionStore
Transactional multi-version component that can commit asynchronously.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionvoidasyncCommit(CountedCompleter<?> sync, IEpoch epoch) Asynchronously commits the current transaction, registering any sub-task on the provided completion sync.voidasyncRollback(CountedCompleter<?> sync) Rolls back the changes that have been written in the transient state.Methods inherited from interface com.qfs.multiversion.IMultiVersion
getMostRecentVersionMethods inherited from interface com.qfs.multiversion.IMultiVersionOperations
commitMethods inherited from interface com.qfs.multiversion.ITransactionalMultiVersion
getOrCreateTransaction, getTransaction, rollback
-
Method Details
-
asyncCommit
Asynchronously commits the current transaction, registering any sub-task on the provided completion sync. -
asyncRollback
Rolls back the changes that have been written in the transient state.
-