Class DmsDataWriterWorker

    • Field Detail

      • DUMMY_VALUE

        public static final byte[] DUMMY_VALUE
    • Constructor Detail

      • DmsDataWriterWorker

        public DmsDataWriterWorker​(@Nullable
                                   @Nullable String igniteInstanceName,
                                   IgniteLogger log,
                                   org.apache.ignite.internal.processors.metastorage.persistence.DmsLocalMetaStorageLock lock,
                                   Consumer<Throwable> errorHnd)
    • Method Detail

      • start

        public void start()
        Start new distributed metastorage worker thread.
      • flush

        public Future<?> flush()
        Returns:
        Future which will be completed when all tasks prior to the pause task are finished.
      • suspend

        public void suspend​(IgniteInternalFuture<?> compFut)
        Parameters:
        compFut - Future which should be completed when worker may proceed with updates.
      • update

        public void update​(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageHistoryItem histItem)
      • update

        public void update​(org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageClusterNodeData fullNodeData)
      • removeHistItem

        public void removeHistItem​(long ver)
      • body

        protected void body()
        The implementation should provide the execution body for this runnable.
        Specified by:
        body in class GridWorker