Class DefaultLingeringStoreVersionChecker
java.lang.Object
com.linkedin.venice.controller.lingeringjob.DefaultLingeringStoreVersionChecker
- All Implemented Interfaces:
LingeringStoreVersionChecker
public class DefaultLingeringStoreVersionChecker
extends Object
implements LingeringStoreVersionChecker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isStoreVersionLingering
(Store store, Version version, Time time, Admin controllerAdmin, Optional<X509Certificate> requesterCert, IdentityParser identityParser) Check if a version has been lingering around
-
Constructor Details
-
DefaultLingeringStoreVersionChecker
public DefaultLingeringStoreVersionChecker()
-
-
Method Details
-
isStoreVersionLingering
public boolean isStoreVersionLingering(Store store, Version version, Time time, Admin controllerAdmin, Optional<X509Certificate> requesterCert, IdentityParser identityParser) Description copied from interface:LingeringStoreVersionChecker
Check if a version has been lingering around- Specified by:
isStoreVersionLingering
in interfaceLingeringStoreVersionChecker
- Returns:
- true if the provided version is has been lingering (so that it can be killed potentially)
-