public class TransactionSaver extends Object
| Constructor and Description |
|---|
TransactionSaver(int transactionReplaySize)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RedoableClientMessage clientMessage)
Add a command to cache.
|
void |
clear()
Transaction finished, clearing cache
|
RedoableClientMessage[] |
getBuffers()
cache buffer
|
int |
getIdx()
Current transaction cache length
|
boolean |
isDirty()
Is cache not valid (some commands have not been cached)
|
public TransactionSaver(int transactionReplaySize)
transactionReplaySize - maximum number of command cachedpublic void add(RedoableClientMessage clientMessage)
clientMessage - client messagepublic void clear()
public int getIdx()
public boolean isDirty()
public RedoableClientMessage[] getBuffers()
Copyright © 2025 SingleStore. All rights reserved.