public class DmsDataWriterWorker extends GridWorker
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
DUMMY_VALUE |
isCancelled, log| Constructor and Description |
|---|
DmsDataWriterWorker(@Nullable String igniteInstanceName,
IgniteLogger log,
org.apache.ignite.internal.processors.metastorage.persistence.DmsLocalMetaStorageLock lock,
Consumer<Throwable> errorHnd) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
body()
The implementation should provide the execution body for this runnable.
|
void |
cancel(boolean halt) |
Future<?> |
flush() |
void |
removeHistItem(long ver) |
void |
setMetaStorage(ReadWriteMetastorage metastorage) |
void |
start()
Start new distributed metastorage worker thread.
|
void |
suspend(IgniteInternalFuture<?> compFut) |
void |
update(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageClusterNodeData fullNodeData) |
void |
update(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageHistoryItem histItem) |
blockingSectionBegin, blockingSectionEnd, cancel, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onCancel, onCancelledBeforeWorkerScheduled, onIdle, run, runner, toString, updateHeartbeatpublic DmsDataWriterWorker(@Nullable
@Nullable String igniteInstanceName,
IgniteLogger log,
org.apache.ignite.internal.processors.metastorage.persistence.DmsLocalMetaStorageLock lock,
Consumer<Throwable> errorHnd)
public void setMetaStorage(ReadWriteMetastorage metastorage)
public void start()
public Future<?> flush()
public void suspend(IgniteInternalFuture<?> compFut)
compFut - Future which should be completed when worker may proceed with updates.public void update(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageHistoryItem histItem)
public void update(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageClusterNodeData fullNodeData)
public void removeHistItem(long ver)
public void cancel(boolean halt)
throws InterruptedException
InterruptedExceptionprotected void body()
body in class GridWorker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023