Package | Description |
---|---|
org.apache.hadoop.hdfs.client |
This package provides the administrative APIs for HDFS.
|
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 | 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 |
PBHelperClient.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 |
PBHelperClient.convert(CacheDirectiveInfo info) |
Copyright © 2018 Apache Software Foundation. All Rights Reserved.