Class PushStatusStoreUtils

java.lang.Object
com.linkedin.venice.common.PushStatusStoreUtils

public class PushStatusStoreUtils extends Object
Helper class for PushStatusStore related logic.
  • Field Details

  • Constructor Details

    • PushStatusStoreUtils

      public PushStatusStoreUtils()
  • Method Details

    • getHeartbeatKey

      public static PushStatusKey getHeartbeatKey(String instanceName)
    • getPushKey

      public static PushStatusKey getPushKey(int version)
    • getPushKey

      public static PushStatusKey getPushKey(int version, Optional<String> incrementalPushVersion)
    • getPushKey

      public static PushStatusKey getPushKey(int version, int partitionId, Optional<String> incrementalPushVersion)
    • getPushKey

      public static PushStatusKey getPushKey(int version, int partitionId, Optional<String> incrementalPushVersion, Optional<String> incrementalPushPrefix)
    • getServerIncrementalPushKey

      public static PushStatusKey getServerIncrementalPushKey(int version, int partitionId, String incrementalPushVersion, String incrementalPushPrefix)
    • getOngoingIncrementalPushStatusesKey

      public static PushStatusKey getOngoingIncrementalPushStatusesKey(int version)
    • getPartitionIdFromServerIncrementalPushKey

      public static int getPartitionIdFromServerIncrementalPushKey(PushStatusKey key)