MongoPrepareKey

class MongoPrepareKey<V : Any>(val name: String, valueType: Class<V>, database: MongoDatabase) : PrepareKey<V>

Constructors

Link copied to clipboard
constructor(name: String, valueType: Class<V>, database: MongoDatabase)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open fun get(key: String): Mono<V>
Link copied to clipboard
open override fun getValue(key: String): Mono<PreparedValue<V>>
Link copied to clipboard
open fun prepare(key: String, value: V): Mono<Boolean>
open override fun prepare(key: String, value: PreparedValue<V>): Mono<Boolean>
Link copied to clipboard
open fun reprepare(key: String, value: V): Mono<Boolean>
open fun reprepare(key: String, oldValue: V, newValue: V): Mono<Boolean>
open fun reprepare(oldKey: String, oldValue: V, newKey: String, newValue: V): Mono<Boolean>
open fun reprepare(oldKey: String, oldValue: V, newKey: String, newValue: PreparedValue<V>): Mono<Boolean>
open override fun reprepare(key: String, value: PreparedValue<V>): Mono<Boolean>
open override fun reprepare(key: String, oldValue: V, newValue: PreparedValue<V>): Mono<Boolean>
Link copied to clipboard
open override fun rollback(key: String): Mono<Boolean>
open override fun rollback(key: String, value: V): Mono<Boolean>
Link copied to clipboard
open fun <R> usingPrepare(key: String, value: V, then: (Boolean) -> Mono<R>): Mono<R>
open fun <R> usingPrepare(key: String, value: PreparedValue<V>, then: (Boolean) -> Mono<R>): Mono<R>