@Stability.Internal public class CoreTransactionsCleanupConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static Duration |
DEFAULT_TRANSACTION_CLEANUP_WINDOW |
static Boolean |
DEFAULT_TRANSACTIONS_CLEANUP_CLIENT_ENABLED |
static Boolean |
DEFAULT_TRANSACTIONS_CLEANUP_LOST_ENABLED |
static String |
TRANSACTIONS_CLEANUP_LOST_PROPERTY |
static String |
TRANSACTIONS_CLEANUP_REGULAR_PROPERTY |
| Constructor and Description |
|---|
CoreTransactionsCleanupConfig(boolean runLostAttemptsCleanupThread,
boolean runRegularAttemptsCleanupThread,
Duration cleanupWindow,
Set<CollectionIdentifier> cleanupSet) |
| Modifier and Type | Method and Description |
|---|---|
Set<CollectionIdentifier> |
cleanupSet() |
Duration |
cleanupWindow() |
static CoreTransactionsCleanupConfig |
createDefault() |
static CoreTransactionsCleanupConfig |
createForSingleQueryTransactions() |
boolean |
runLostAttemptsCleanupThread() |
boolean |
runRegularAttemptsCleanupThread() |
public static final Duration DEFAULT_TRANSACTION_CLEANUP_WINDOW
public static final String TRANSACTIONS_CLEANUP_LOST_PROPERTY
public static final String TRANSACTIONS_CLEANUP_REGULAR_PROPERTY
public static final Boolean DEFAULT_TRANSACTIONS_CLEANUP_LOST_ENABLED
public static final Boolean DEFAULT_TRANSACTIONS_CLEANUP_CLIENT_ENABLED
public CoreTransactionsCleanupConfig(boolean runLostAttemptsCleanupThread,
boolean runRegularAttemptsCleanupThread,
Duration cleanupWindow,
Set<CollectionIdentifier> cleanupSet)
@Stability.Internal public static CoreTransactionsCleanupConfig createDefault()
public static CoreTransactionsCleanupConfig createForSingleQueryTransactions()
public boolean runLostAttemptsCleanupThread()
public boolean runRegularAttemptsCleanupThread()
public Duration cleanupWindow()
public Set<CollectionIdentifier> cleanupSet()
Copyright © 2024 Couchbase, Inc.. All rights reserved.