Class GcsLockConfig


  • public class GcsLockConfig
    extends Object
    • Method Detail

      • getGcsBucketName

        public String getGcsBucketName()
        Returns:
        The GCS bucket name where the lock object is stored
      • getGcsLockFilename

        public String getGcsLockFilename()
        Returns:
        The name of the lock object in the GCS bucket returned by getGcsBucketName()
      • getRefreshIntervalInSeconds

        public Integer getRefreshIntervalInSeconds()
        Returns:
        The interval in seconds when the lock is refreshed by the lock owner or a cleanup is attempted by the other processes that couldn't obtain the lock.
      • getLifeExtensionInSeconds

        public Integer getLifeExtensionInSeconds()
        Returns:
        The length in seconds the lock's expiration is extended by the lock owner.