org.apache.hadoop.crypto.key.kms
Interface ValueQueue.QueueRefiller<E>

Enclosing class:
org.apache.hadoop.crypto.key.kms.ValueQueue<E>

public static interface ValueQueue.QueueRefiller<E>

QueueRefiller interface a client must implement to use this class


Method Summary
 void fillQueueForKey(String keyName, Queue<E> keyQueue, int numValues)
          Method that has to be implemented by implementing classes to fill the Queue.
 

Method Detail

fillQueueForKey

void fillQueueForKey(String keyName,
                     Queue<E> keyQueue,
                     int numValues)
                     throws IOException
Method that has to be implemented by implementing classes to fill the Queue.

Parameters:
keyName - Key name
keyQueue - Queue that needs to be filled
numValues - number of Values to be added to the queue.
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.