| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.client | |
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method and Description |
|---|---|
long |
HdfsAdmin.addCacheDirective(CacheDirectiveInfo info,
EnumSet<CacheFlag> flags)
Add a new CacheDirectiveInfo.
|
org.apache.hadoop.fs.RemoteIterator<CacheDirectiveEntry> |
HdfsAdmin.listCacheDirectives(CacheDirectiveInfo filter)
List cache directives.
|
void |
HdfsAdmin.modifyCacheDirective(CacheDirectiveInfo info,
EnumSet<CacheFlag> flags)
Modify a CacheDirective.
|
| Modifier and Type | Method and Description |
|---|---|
CacheDirectiveInfo |
CacheDirectiveInfo.Builder.build()
Builds a new CacheDirectiveInfo populated with the set properties.
|
CacheDirectiveInfo |
CacheDirectiveEntry.getInfo() |
| Constructor and Description |
|---|
CacheDirectiveEntry(CacheDirectiveInfo info,
CacheDirectiveStats stats) |
CacheDirectiveInfo.Builder(CacheDirectiveInfo directive)
Creates a builder with all elements set to the same values as the
given CacheDirectiveInfo.
|
| Modifier and Type | Method and Description |
|---|---|
static CacheDirectiveInfo |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto proto) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto |
PBHelper.convert(CacheDirectiveInfo info) |
| Modifier and Type | Method and Description |
|---|---|
long |
AuthorizationProviderProxyClientProtocol.addCacheDirective(CacheDirectiveInfo directive,
EnumSet<CacheFlag> flags) |
org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CacheDirectiveEntry> |
AuthorizationProviderProxyClientProtocol.listCacheDirectives(long prevId,
CacheDirectiveInfo filter) |
void |
AuthorizationProviderProxyClientProtocol.modifyCacheDirective(CacheDirectiveInfo directive,
EnumSet<CacheFlag> flags) |
Copyright © 2015 Apache Software Foundation. All Rights Reserved.