public interface ITtlTimeProvider
S3Guard.ttlTimeProvider. By doing this, getNow() can return any
value preferred and flaky tests could be avoided. By default getNow()
returns the EPOCH in runtime.
Time is measured in milliseconds,| Modifier and Type | Method and Description |
|---|---|
long |
getMetadataTtl() |
long |
getNow() |
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.