Class ClientNamenodeProtocolTranslatorPB.BatchedCachePoolEntries

java.lang.Object
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.BatchedCachePoolEntries
All Implemented Interfaces:
org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CachePoolEntry>
Enclosing class:
ClientNamenodeProtocolTranslatorPB

protected static class ClientNamenodeProtocolTranslatorPB.BatchedCachePoolEntries extends Object implements org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CachePoolEntry>
  • Constructor Details

    • BatchedCachePoolEntries

      public BatchedCachePoolEntries(org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.ListCachePoolsResponseProto proto)
  • Method Details

    • get

      public CachePoolEntry get(int i)
      Specified by:
      get in interface org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CachePoolEntry>
    • size

      public int size()
      Specified by:
      size in interface org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CachePoolEntry>
    • hasMore

      public boolean hasMore()
      Specified by:
      hasMore in interface org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<CachePoolEntry>