public static class S3Guard.TtlTimeProvider extends Object implements ITtlTimeProvider
| Constructor and Description |
|---|
TtlTimeProvider(org.apache.hadoop.conf.Configuration conf) |
TtlTimeProvider(long authoritativeDirTtl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getMetadataTtl()
The TTL of the metadata.
|
long |
getNow()
The current time in milliseconds.
|
int |
hashCode() |
String |
toString() |
public TtlTimeProvider(long authoritativeDirTtl)
public TtlTimeProvider(org.apache.hadoop.conf.Configuration conf)
public long getNow()
ITtlTimeProvidergetNow in interface ITtlTimeProviderpublic long getMetadataTtl()
ITtlTimeProvidergetMetadataTtl in interface ITtlTimeProviderCopyright © 2008–2022 Apache Software Foundation. All rights reserved.