Package com.linkedin.venice.common
Class PushStatusStoreUtils
java.lang.Object
com.linkedin.venice.common.PushStatusStoreUtils
Helper class for PushStatusStore related logic.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PushStatusKey
getHeartbeatKey
(String instanceName) static PushStatusKey
getOngoingIncrementalPushStatusesKey
(int version) static int
static PushStatusKey
getPushKey
(int version) static PushStatusKey
getPushKey
(int version, int partitionId, Optional<String> incrementalPushVersion) static PushStatusKey
getPushKey
(int version, int partitionId, Optional<String> incrementalPushVersion, Optional<String> incrementalPushPrefix) static PushStatusKey
getPushKey
(int version, Optional<String> incrementalPushVersion) static PushStatusKey
getServerIncrementalPushKey
(int version, int partitionId, String incrementalPushVersion, String incrementalPushPrefix)
-
Field Details
-
SERVER_INCREMENTAL_PUSH_PREFIX
- See Also:
-
ONGOING_INCREMENTAL_PUSH_STATUSES_KEY
- See Also:
-
CONTROLLER_HEARTBEAT_INSTANCE_NAME
- See Also:
-
-
Constructor Details
-
PushStatusStoreUtils
public PushStatusStoreUtils()
-
-
Method Details
-
getHeartbeatKey
-
getPushKey
-
getPushKey
-
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
-
getPartitionIdFromServerIncrementalPushKey
-