public class CdcUtilityActiveCdcManager extends GridCacheSharedManagerAdapter implements CdcManager, PartitionsExchangeAware
CdcMain utility.cctx, diagnosticLog, log| Constructor and Description |
|---|
CdcUtilityActiveCdcManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(ByteBuffer dataBuf)
Callback to collect written WAL records.
|
boolean |
enabled()
If this manager isn't enabled then Ignite skips notifying the manager with following methods.
|
void |
onDoneAfterTopologyUnlock(GridDhtPartitionsExchangeFuture fut)
Callback from exchange process completion; called after topology is unlocked.
|
protected void |
start0() |
context, isStopping, kernalStartInfo, kernalStopInfo, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, start, startInfo, stop, stop0, stopInfo, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitafterBinaryMemoryRestoreonDisconnected, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stopafterInitialise, afterLogicalUpdatesApplied, beforeBinaryMemoryRestore, beforeResumeWalLogging, beforeStop, onBaselineChange, onInitDataRegionsonDoneBeforeTopologyUnlock, onInitAfterTopologyLock, onInitBeforeTopologyLockprotected void start0()
start0 in class GridCacheSharedManagerAdapterpublic void onDoneAfterTopologyUnlock(GridDhtPartitionsExchangeFuture fut)
PartitionsExchangeAwareonDoneAfterTopologyUnlock in interface PartitionsExchangeAwarefut - Partition map exchange future.public boolean enabled()
enabled in interface CdcManagertrue if manager is enabled, otherwise false.public void collect(ByteBuffer dataBuf)
dataBuf is a continuation of the previous one.dataBuf contains finite number of completed WAL records. No partially written WAL records are present.RecordSerializer.readRecord(FileInput, WALPointer).dataBuf must not be changed within this method.Implementation suggestions:
IgniteSystemProperties.IGNITE_WAL_SEGMENT_SYNC_TIMEOUT.
dataBuf within the calling thread.
Content of the buffer will not be changed before this method returns.
Throwable throwed from this method.collect in interface CdcManagerdataBuf - Buffer that contains data to collect.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023