class HBase_1_1_2_ClientMapCacheService extends AbstractControllerService implements DistributedMapCacheClient {

    @Override
    public <K> boolean containsKey(final K key, final Serializer<K> keySerializer) throws IOException {
      final byte[] rowIdBytes = serialize(key, keySerializer);
      final HBaseRowHandler handler = new HBaseRowHandler();

      final List<Column> columnsList = new ArrayList<Column>(0);

      hBaseClientService.scan(hBaseCacheTableName, rowIdBytes, rowIdBytes, columnsList, authorizations, handler);
      return (handler.numRows() > 0);
    }

}