Interface LifecycleNewTracker
-
- All Known Subinterfaces:
ILifecycleTransaction
- All Known Implementing Classes:
LifecycleTransaction
,WrappedLifecycleTransaction
public interface LifecycleNewTracker
An interface for tracking new sstables added to a LifecycleTransaction, possibly through some proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationType
opType()
void
trackNew(SSTable table)
Called when a new table is about to be created, so that this table can be tracked by a transaction.void
untrackNew(SSTable table)
Called when a new table is no longer required, so that this table can be untracked by a transaction.
-
-
-
Method Detail
-
trackNew
void trackNew(SSTable table)
Called when a new table is about to be created, so that this table can be tracked by a transaction.- Parameters:
table
- - the new table to be tracked
-
untrackNew
void untrackNew(SSTable table)
Called when a new table is no longer required, so that this table can be untracked by a transaction.- Parameters:
table
- - the table to be untracked
-
opType
OperationType opType()
- Returns:
- the type of operation tracking these sstables
-
-