Class StateModelIngestionProgressNotifier

java.lang.Object
com.linkedin.davinci.helix.StateModelIngestionProgressNotifier
All Implemented Interfaces:
VeniceNotifier, Closeable, AutoCloseable
Direct Known Subclasses:
LeaderFollowerIngestionProgressNotifier

public class StateModelIngestionProgressNotifier extends Object implements VeniceNotifier
This class notifies the Helix State Models (SM) about corresponding ingestion progress. The class also holds latches that can be used in SM in the cases when state transitions need to coordinate with ingestion progress.
  • Constructor Details

    • StateModelIngestionProgressNotifier

      public StateModelIngestionProgressNotifier()
  • Method Details

    • completed

      public void completed(String resourceName, int partitionId, long offset, String message)
      Specified by:
      completed in interface VeniceNotifier
    • error

      public void error(String resourceName, int partitionId, String message, Exception ex)
      Description copied from interface: VeniceNotifier
      Report an error, during the consumption for a Partitions and store. The error may or may not be fatal.
      Specified by:
      error in interface VeniceNotifier
    • stopped

      public void stopped(String resourceName, int partitionId, long offset)
      Specified by:
      stopped in interface VeniceNotifier