THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
class IgniteInternalTx { /** * @param ID of {@link ConsistentCut} AFTER which this transaction was committed, {@code null} if transaction * committed BEFORE. */ public void cutId(@Nullable UUID id); } |
Code Block | ||||
---|---|---|---|---|
| ||||
// Class is responsible for managing all stuff related to Consistent Cut. It's an entrypoint for transaction threads to check running consistent cut.
class ConsistentCutManager extends GridCacheSharedManagerAdapter {
// Current Consistent Cut. All transactions threads wraps outgoing messages if this field is not null. */
volatile @Nullable ConsistentCut cut;
// Entrypoint for handling received new Consistent Cut ID.
void handleConsistentCutId(UUID id);
} |
Code Block | ||||
---|---|---|---|---|
| ||||
class ConsistentCut extends GridFutureAdapter<WALPointer> {
Set<GridCacheVersion> beforeCut;
Set<GridCacheVersion> afterCut;
Set<IgniteInternalFuture<IgniteInternalTx>> removedActive;
} |