Example usage for org.apache.hadoop.hdfs.protocol CacheDirectiveIterator CacheDirectiveIterator

List of usage examples for org.apache.hadoop.hdfs.protocol CacheDirectiveIterator CacheDirectiveIterator

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.protocol CacheDirectiveIterator CacheDirectiveIterator.

Prototype

public CacheDirectiveIterator(ClientProtocol namenode, CacheDirectiveInfo filter, Tracer tracer) 

Source Link

Usage

From source file:com.mellanox.r4h.DFSClient.java

License:Apache License

public RemoteIterator<CacheDirectiveEntry> listCacheDirectives(CacheDirectiveInfo filter) throws IOException {
    return new CacheDirectiveIterator(namenode, filter, traceSampler);
}