@Stability.Internal
public class TransactionsCleanup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATEGORY |
static java.lang.String |
CATEGORY_CLIENT_RECORD |
static java.lang.String |
CATEGORY_STATS |
static java.lang.String |
LOST_CATEGORY |
static java.lang.String |
REGULAR_CATEGORY |
Constructor and Description |
---|
TransactionsCleanup(TransactionConfig config,
ClusterData clusterData) |
Modifier and Type | Method and Description |
---|---|
void |
add(CleanupRequest cleanupRequest) |
int |
cleanupQueueLength() |
void |
clearCleanupQueue() |
ClusterData |
clusterData() |
reactor.core.publisher.Mono<java.lang.Void> |
forceATRCleanup(com.couchbase.client.java.ReactiveCollection atrCollection,
java.lang.String atrId)
Called only from tests.
|
java.util.List<TransactionCleanupAttempt> |
forceCleanupQueueEmpty() |
Cleaner |
getCleaner() |
LostCleanupDistributed |
lostCleanup() |
void |
stopBackgroundProcesses() |
public static java.lang.String CATEGORY
public static java.lang.String CATEGORY_STATS
public static java.lang.String CATEGORY_CLIENT_RECORD
public static java.lang.String LOST_CATEGORY
public static java.lang.String REGULAR_CATEGORY
public TransactionsCleanup(TransactionConfig config, ClusterData clusterData)
public ClusterData clusterData()
public java.util.List<TransactionCleanupAttempt> forceCleanupQueueEmpty()
public void stopBackgroundProcesses()
public LostCleanupDistributed lostCleanup()
public Cleaner getCleaner()
public void clearCleanupQueue()
public int cleanupQueueLength()
public void add(CleanupRequest cleanupRequest)
public reactor.core.publisher.Mono<java.lang.Void> forceATRCleanup(com.couchbase.client.java.ReactiveCollection atrCollection, java.lang.String atrId)