final NodeEngine nodeEngine = getNodeEngine();
try {
Map<Integer, Object> results = nodeEngine.getOperationService()
.invokeOnAllPartitions(
SERVICE_NAME,
new BinaryOperationFactory(new MapKeySetOperation(name), nodeEngine)
);
Set<Data> keySet = new HashSet<Data>();
for (Object result : results.values()) {
Set keys = ((MapKeySet) getService().getMapServiceContext().toObject(result)).getKeySet();
keySet.addAll(keys);