}
}
DistributionManager distributionManager = cache.getAdvancedCache().getDistributionManager();
if(distributionManager!=null) {
Object key = keyData.getKey();
List<Address> addresses = distributionManager.locate(codec.encodeKey(key));
return new StringResult(addresses.toString());
} else {
throw log.cacheNotDistributed();
}
}