public BinaryStore findBinaryStoreContainingKey ( BinaryKey key ) { Iterator < Map . Entry < String , BinaryStore > > binaryStoreIterator = getNamedStoreIterator ( ) ; while ( binaryStoreIterator . hasNext ( ) ) { BinaryStore bs = binaryStoreIterator . next ( ) . getValue ( ) ; if ( bs . hasBinary ( key ) ) { return bs ; } } return null ; }
Get the named binary store that contains the key