Package | Description |
---|---|
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.
|
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 |
CacheDirectiveEntry.getInfo() |
Constructor and Description |
---|
CacheDirectiveEntry(CacheDirectiveInfo info,
CacheDirectiveStats stats) |
Copyright © 2018 Apache Software Foundation. All rights reserved.