| 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 | 
|---|---|
| void | HdfsAdmin. addCachePool(CachePoolInfo info)Add a cache pool. | 
| void | HdfsAdmin. modifyCachePool(CachePoolInfo info)Modify an existing cache pool. | 
| Modifier and Type | Method and Description | 
|---|---|
| CachePoolInfo | CachePoolEntry. getInfo() | 
| CachePoolInfo | CachePoolInfo. setDefaultReplication(Short repl) | 
| CachePoolInfo | CachePoolInfo. setGroupName(String groupName) | 
| CachePoolInfo | CachePoolInfo. setLimit(Long bytes) | 
| CachePoolInfo | CachePoolInfo. setMaxRelativeExpiryMs(Long ms)Set the maximum relative expiration of directives of this pool in
 milliseconds. | 
| CachePoolInfo | CachePoolInfo. setMode(FsPermission mode) | 
| CachePoolInfo | CachePoolInfo. setOwnerName(String ownerName) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | CachePoolInfo. validate(CachePoolInfo info) | 
| Constructor and Description | 
|---|
| CachePoolEntry(CachePoolInfo info,
              CachePoolStats stats) | 
Copyright © 2022 Apache Software Foundation. All rights reserved.