@Override
@SuppressWarnings("unchecked")
public Map<K, V> getBulk(int size) {
assertRemoteCacheManagerIsStarted();
BulkGetOperation op = operationsFactory.newBulkGetOperation(size);
Map<byte[], byte[]> result = op.execute();
Map<K,V> toReturn = new HashMap<K,V>();
for (Map.Entry<byte[], byte[]> entry : result.entrySet()) {
V value = (V) bytes2obj(entry.getValue());
K key = (K) bytes2obj(entry.getKey());
toReturn.put(key, value);