return this.apieStatesCache.get("", new Callable<Map<String, IAPIStateDTO>>() {
@Override
public Map<String, IAPIStateDTO> call() throws Exception {
try {
final WebResource resource = ServiceConstants.REST_CLIENT.resource(API_STATES_URL.toExternalForm());
resource.addFilter(new RetryClientFilter(RETRY_COUNT));
final WebResource.Builder builder = resource.accept(MediaType.APPLICATION_JSON_TYPE);
try {
final String response = builder.get(String.class).replaceAll(Pattern.quote("\\"), "");
LOGGER.trace("Retrieved response=" + response);
final Map<String, IAPIStateDTO> result = GW2StatsService.this.gw2statsDTOFactory.newAPIStatesOf(response);