Package org.apache.hadoop.hdfs.protocol
Class ReencryptionStatusIterator
java.lang.Object
org.apache.hadoop.fs.BatchedRemoteIterator<Long,ZoneReencryptionStatus>
org.apache.hadoop.hdfs.protocol.ReencryptionStatusIterator
- All Implemented Interfaces:
org.apache.hadoop.fs.RemoteIterator<ZoneReencryptionStatus>
@Private
public class ReencryptionStatusIterator
extends org.apache.hadoop.fs.BatchedRemoteIterator<Long,ZoneReencryptionStatus>
ReencryptionStatusIterator is a remote iterator that iterates over the
reencryption status of encryption zones.
It supports retrying in case of namenode failover.
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionReencryptionStatusIterator(ClientProtocol namenode, org.apache.hadoop.tracing.Tracer tracer) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<ZoneReencryptionStatus>makeRequest(Long prevId) Methods inherited from class org.apache.hadoop.fs.BatchedRemoteIterator
hasNext, next
-
Constructor Details
-
ReencryptionStatusIterator
-
-
Method Details
-
makeRequest
public org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<ZoneReencryptionStatus> makeRequest(Long prevId) throws IOException - Specified by:
makeRequestin classorg.apache.hadoop.fs.BatchedRemoteIterator<Long,ZoneReencryptionStatus> - Throws:
IOException
-
elementToPrevKey
- Specified by:
elementToPrevKeyin classorg.apache.hadoop.fs.BatchedRemoteIterator<Long,ZoneReencryptionStatus>
-