public void consumeValue(final K key, final Consumer<V> valueConsumer) {
        lmdbEnvironment.doWithReadTxn(txn -> {
            try (final PooledByteBuffer pooledKeyBuffer = getPooledKeyBuffer()) {
                final ByteBuffer keyBuffer = pooledKeyBuffer.getByteBuffer();
                serializeKey(keyBuffer, key);
                final ByteBuffer valueBuffer = lmdbDbi.get(txn, keyBuffer);
                V value = deserializeValue(valueBuffer);
                valueConsumer.accept(value);
            } catch (RuntimeException e) {
                throw new RuntimeException(LogUtil.message("Error getting key {}", key), e);
            }
        });
    }
@return True if any entry exists with a key matching the passed keyBuffer
stroom-lmdb/src/main/java/stroom/lmdb/AbstractLmdbDb.java