Package org.apache.hadoop.crypto.key.kms
Interface ValueQueue.QueueRefiller<E>
- Enclosing class:
- ValueQueue<E>
public static interface ValueQueue.QueueRefiller<E>
QueueRefiller interface a client must implement to use this class
-
Method Summary
Modifier and TypeMethodDescriptionvoidfillQueueForKey(String keyName, Queue<E> keyQueue, int numValues) Method that has to be implemented by implementing classes to fill the Queue.
-
Method Details
-
fillQueueForKey
Method that has to be implemented by implementing classes to fill the Queue.- Parameters:
keyName- Key namekeyQueue- Queue that needs to be fillednumValues- number of Values to be added to the queue.- Throws:
IOException- raised on errors performing I/O.
-