Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
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.NEVER
An 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 © 2018 Apache Software Foundation. All Rights Reserved.