UpdateAction

class UpdateAction<S : BaseDocSource>(val meta: IdActionMeta, val source: UpdateSource<S>, val retryOnConflict: Int? = null, val concurrencyControl: ConcurrencyControl? = null) : Action<UpdateSource<S>>

Updates a document specified by an meta's id.

See also

Constructors

Link copied to clipboard
fun <S : BaseDocSource> UpdateAction(meta: IdActionMeta, source: UpdateSource<S>, retryOnConflict: Int? = null, concurrencyControl: ConcurrencyControl? = null)

Properties

Link copied to clipboard
open override val concurrencyControl: ConcurrencyControl? = null

Concurrency control.

Link copied to clipboard
open override val meta: IdActionMeta

Action's metadata.

Link copied to clipboard
open override val name: String

Name of the action.

Link copied to clipboard
val retryOnConflict: Int? = null
Link copied to clipboard
open override val source: UpdateSource<S>

Optional source.