Class ZkExecutionIdAccessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getLastGeneratedExecutionId​(java.lang.String clusterName)
      Get the last id which is generated by execution tracker in the give cluster.
      java.lang.Long getLastSucceededExecutionId​(java.lang.String clusterName)
      Get the id for the last succeed operation in the given cluster.
      java.util.Map<java.lang.String,​java.lang.Long> getLastSucceededExecutionIdMap​(java.lang.String clusterName)
      Get the execution id map that contains the last succeeded operation in the given cluster for each store.
      java.lang.Long incrementAndGetExecutionId​(java.lang.String clusterName)
      Using AtomicLong here only as a workaround to get next execution id from HelixUtils.compareAndUpdate(ZkBaseDataAccessor, String, int, DataUpdater)
      void updateLastGeneratedExecutionId​(java.lang.String clusterName, java.lang.Long lastGeneratedExecutionId)
      Update the last id which is generated by execution tracker in the given cluster.
      void updateLastSucceededExecutionId​(java.lang.String clusterName, java.lang.Long lastSucceedExecutionId)
      Update the id of the last succeed operation in the given cluster.
      void updateLastSucceededExecutionIdMap​(java.lang.String clusterName, java.lang.String storeName, java.lang.Long lastSucceededExecutionId)
      Update the execution id map that contains the last succeeded operation in the given cluster for each store.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait