Class MockController

java.lang.Object
io.camunda.zeebe.test.exporter.MockController
All Implemented Interfaces:
Controller

@Deprecated(since="1.3.0", forRemoval=true) public class MockController extends Object implements Controller
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.3.0. See issue 8143 for more information.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will run all tasks scheduled since the last time this was executed + the given duration.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • UNKNOWN_POSITION

      public static final long UNKNOWN_POSITION
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • MockController

      public MockController()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • updateLastExportedRecordPosition

      public void updateLastExportedRecordPosition(long position)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      updateLastExportedRecordPosition in interface Controller
    • scheduleCancellableTask

      public ScheduledTask scheduleCancellableTask(Duration delay, Runnable task)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      scheduleCancellableTask in interface Controller
    • resetScheduler

      public void resetScheduler()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getScheduledTasks

      public List<MockScheduledTask> getScheduledTasks()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPosition

      public long getPosition()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • runScheduledTasks

      public void runScheduledTasks(Duration elapsed)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will run all tasks scheduled since the last time this was executed + the given duration.
      Parameters:
      elapsed - upper bound of tasks delay