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
public interface IAsyncTransactionalMultiVersion extends ITransactionalMultiVersion
Transactional multi-version component that can commit asynchronously.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidasyncCommit(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
getMostRecentVersion
-
Methods inherited from interface com.qfs.multiversion.IMultiVersionOperations
commit
-
Methods inherited from interface com.qfs.multiversion.ITransactionalMultiVersion
getOrCreateTransaction, getTransaction, rollback
-
-
-
-
Method Detail
-
asyncCommit
void asyncCommit(CountedCompleter<?> sync, IEpoch epoch)
Asynchronously commits the current transaction, registering any sub-task on the provided completion sync.
-
asyncRollback
void asyncRollback(CountedCompleter<?> sync)
Rolls back the changes that have been written in the transient state.
-
-