class CouchbaseMapCacheClient extends AbstractControllerService implements AtomicDistributedMapCacheClient<Long> {

    @Override
    public <K, V> V get(K key, Serializer<K> keySerializer, Deserializer<V> valueDeserializer) throws IOException {
        final String docId = toDocumentId(key, keySerializer);
        final BinaryDocument doc = bucket.get(BinaryDocument.create(docId));
        return deserialize(doc, valueDeserializer);
    }

}