Skip to content

//musiclibrary2/app.cash.tempest2.musiclibrary/AsyncMusicDb

AsyncMusicDb

[jvm]\ interface AsyncMusicDb : AsyncLogicalDb

Properties

Name Summary
music [jvm]
abstract val music: AsyncMusicTable

Functions

Name Summary
batchLoad [jvm]
open suspend fun batchLoad(vararg keys: Any, consistentReads: Boolean, maxPageSize: Int): ItemSet
open suspend fun batchLoad(keys: Iterable<Any>, consistentReads: Boolean, maxPageSize: Int): ItemSet
open suspend fun batchLoad(keys: KeySet, consistentReads: Boolean, maxPageSize: Int, returnConsumedCapacity: ReturnConsumedCapacity): ItemSet
batchLoadAsync [jvm]
open fun batchLoadAsync(keys: Iterable<Any>): Publisher<ItemSet>
open fun batchLoadAsync(keys: KeySet, consistentReads: Boolean, returnConsumedCapacity: ReturnConsumedCapacity): Publisher<ItemSet>
open fun batchLoadAsync(vararg keys: Any, consistentReads: Boolean, returnConsumedCapacity: ReturnConsumedCapacity): Publisher<ItemSet>
open fun batchLoadAsync(keys: Iterable<Any>, consistentReads: Boolean, returnConsumedCapacity: ReturnConsumedCapacity): Publisher<ItemSet>
abstract fun batchLoadAsync(keys: KeySet, consistentReads: Boolean, maxPageSize: Int, returnConsumedCapacity: ReturnConsumedCapacity): Publisher<ItemSet>
batchWrite [jvm]
open suspend fun batchWrite(writeSet: BatchWriteSet, maxPageSize: Int): BatchWriteResult
batchWriteAsync [jvm]
abstract fun batchWriteAsync(writeSet: BatchWriteSet, maxPageSize: Int): CompletableFuture<BatchWriteResult>
logicalTable [jvm]
abstract fun <T : AsyncLogicalTable<RI>, RI : Any> logicalTable(tableName: String, tableType: KClass<T>): T
transactionLoad [jvm]
open suspend fun transactionLoad(keys: KeySet): ItemSet
open suspend fun transactionLoad(vararg keys: Any): ItemSet
open suspend fun transactionLoad(keys: Iterable<Any>): ItemSet
transactionLoadAsync [jvm]
abstract fun transactionLoadAsync(keys: KeySet): CompletableFuture<ItemSet>
open fun transactionLoadAsync(vararg keys: Any): CompletableFuture<ItemSet>
open fun transactionLoadAsync(keys: Iterable<Any>): CompletableFuture<ItemSet>
transactionWrite [jvm]
open suspend fun transactionWrite(writeSet: TransactionWriteSet)
transactionWriteAsync [jvm]
abstract fun transactionWriteAsync(writeSet: TransactionWriteSet): CompletableFuture<Void>