| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.protocol | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| org.apache.hadoop.hdfs.protocolPB | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| Modifier and Type | Field and Description | 
|---|---|
| static CacheDirectiveInfo.Expiration | CacheDirectiveInfo.Expiration. NEVERAn relative Expiration that never expires. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDirectiveInfo.Expiration | CacheDirectiveInfo. getExpiration() | 
| static CacheDirectiveInfo.Expiration | CacheDirectiveInfo.Expiration. newAbsolute(Date date)Create a new absolute Expiration. | 
| static CacheDirectiveInfo.Expiration | CacheDirectiveInfo.Expiration. newAbsolute(long ms)Create a new absolute Expiration. | 
| static CacheDirectiveInfo.Expiration | CacheDirectiveInfo.Expiration. newRelative(long ms)Create a new relative Expiration. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDirectiveInfo.Builder | CacheDirectiveInfo.Builder. setExpiration(CacheDirectiveInfo.Expiration expiration)Sets when the CacheDirective should expire. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CacheDirectiveInfo.Expiration | PBHelperClient. convert(org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto | PBHelperClient. convert(CacheDirectiveInfo.Expiration expiration) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.