class HBase_1_1_2_ClientMapCacheService extends AbstractControllerService implements DistributedMapCacheClient {

    @Override
    public <K, V> boolean putIfAbsent(final K key, final V value, final Serializer<K> keySerializer, final Serializer<V> valueSerializer) throws IOException {

      final byte[] rowIdBytes = serialize(key, keySerializer);
      final byte[] valueBytes = serialize(value, valueSerializer);
      final PutColumn putColumn = new PutColumn(hBaseColumnFamilyBytes, hBaseColumnQualifierBytes, valueBytes);

      return hBaseClientService.checkAndPut(hBaseCacheTableName, rowIdBytes, hBaseColumnFamilyBytes, hBaseColumnQualifierBytes, null, putColumn);
    }

}