TransactionsCleanupConfigDslBuilder

class TransactionsCleanupConfigDslBuilder

Properties

Link copied to clipboard
var cleanupClientAttempts: Boolean = true

Controls whether a background thread is created to clean up any transaction attempts made by this client.

Link copied to clipboard
var cleanupLostAttempts: Boolean = true

Controls whether a background process is created to clean up any 'lost' transaction attempts.

Link copied to clipboard
var cleanupWindow: Duration

Determines how frequently the SDK scans for 'lost' transaction attempts when cleanupLostAttempts is true.

Link copied to clipboard
var collections: Set<Keyspace>

The initial set of transaction metadata collections to clean up. Has no effect if transaction cleanup is explicitly disabled.