| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.client |
This package provides the administrative APIs for HDFS.
|
| org.apache.hadoop.hdfs.protocol |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.protocolPB |
| Modifier and Type | Method | Description |
|---|---|---|
long |
DFSClient.addCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
|
long |
DistributedFileSystem.addCacheDirective(CacheDirectiveInfo info) |
|
long |
DistributedFileSystem.addCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
Add a new CacheDirective.
|
long |
ViewDistributedFileSystem.addCacheDirective(CacheDirectiveInfo info) |
|
long |
ViewDistributedFileSystem.addCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
|
org.apache.hadoop.fs.RemoteIterator<CacheDirectiveEntry> |
DFSClient.listCacheDirectives(CacheDirectiveInfo filter) |
|
org.apache.hadoop.fs.RemoteIterator<CacheDirectiveEntry> |
DistributedFileSystem.listCacheDirectives(CacheDirectiveInfo filter) |
List cache directives.
|
org.apache.hadoop.fs.RemoteIterator<CacheDirectiveEntry> |
ViewDistributedFileSystem.listCacheDirectives(CacheDirectiveInfo filter) |
|
void |
DFSClient.modifyCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
|
void |
DistributedFileSystem.modifyCacheDirective(CacheDirectiveInfo info) |
|
void |
DistributedFileSystem.modifyCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
Modify a CacheDirective.
|
void |
ViewDistributedFileSystem.modifyCacheDirective(CacheDirectiveInfo info) |
|
void |
ViewDistributedFileSystem.modifyCacheDirective(CacheDirectiveInfo info,
java.util.EnumSet<CacheFlag> flags) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
HdfsAdmin.addCacheDirective(CacheDirectiveInfo info,
java.util.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,
java.util.EnumSet<CacheFlag> flags) |
Modify a CacheDirective.
|
| Modifier and Type | Method | Description |
|---|---|---|
CacheDirectiveInfo |
CacheDirectiveInfo.Builder.build() |
Builds a new CacheDirectiveInfo populated with the set properties.
|
CacheDirectiveInfo |
CacheDirectiveEntry.getInfo() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
ClientProtocol.addCacheDirective(CacheDirectiveInfo directive,
java.util.EnumSet<CacheFlag> flags) |
Add a CacheDirective to the CacheManager.
|
org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CacheDirectiveEntry> |
ClientProtocol.listCacheDirectives(long prevId,
CacheDirectiveInfo filter) |
List the set of cached paths of a cache pool.
|
void |
ClientProtocol.modifyCacheDirective(CacheDirectiveInfo directive,
java.util.EnumSet<CacheFlag> flags) |
Modify a CacheDirective in the CacheManager.
|
| Constructor | Description |
|---|---|
Builder(CacheDirectiveInfo directive) |
Creates a builder with all elements set to the same values as the
given CacheDirectiveInfo.
|
CacheDirectiveEntry(CacheDirectiveInfo info,
CacheDirectiveStats stats) |
|
CacheDirectiveIterator(ClientProtocol namenode,
CacheDirectiveInfo filter,
org.apache.hadoop.tracing.Tracer tracer) |
| Modifier and Type | Method | Description |
|---|---|---|
static CacheDirectiveInfo |
PBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
ClientNamenodeProtocolTranslatorPB.addCacheDirective(CacheDirectiveInfo directive,
java.util.EnumSet<CacheFlag> flags) |
|
static org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto |
PBHelperClient.convert(CacheDirectiveInfo info) |
|
org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CacheDirectiveEntry> |
ClientNamenodeProtocolTranslatorPB.listCacheDirectives(long prevId,
CacheDirectiveInfo filter) |
|
void |
ClientNamenodeProtocolTranslatorPB.modifyCacheDirective(CacheDirectiveInfo directive,
java.util.EnumSet<CacheFlag> flags) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.