ModelDBListener

interface ModelDBListener<in M : Any>

Functions

didDelete
Link copied to clipboard
common
open fun didDelete(key: Key<M>, model: M?, typeName: ReadMemory, options: Array<out Options.Deletes>)
didPut
Link copied to clipboard
common
open fun didPut(model: M, key: Key<M>, typeName: ReadMemory, metadata: Metadata, size: Int, options: Array<out Options.Puts>)
setSubscription
Link copied to clipboard
common
open fun setSubscription(subscription: Closeable)
willDelete
Link copied to clipboard
common
open fun willDelete(key: Key<M>, getModel: () -> M?, typeName: ReadMemory, options: Array<out Options.Deletes>)
willPut
Link copied to clipboard
common
open fun willPut(model: M, key: Key<M>, typeName: ReadMemory, metadata: Metadata, options: Array<out Options.Puts>)