/** * Get a map-oriented view of the cache. * * @return a map of the query string with class names as key. */ public Map<String, String> getMapView() { lock(); try { Map<String, String> view = new TreeMap<String, String>(); for (ClassMapping mapping : _delegate.keySet()) { view.put(mapping.getDescribedType().getName(), _delegate.get(mapping).getQueryString()); } return view; } finally { unlock(); } }
/** * Get a map-oriented view of the cache. * * @return a map of the query string with class names as key. */ public Map<String, String> getMapView() { lock(); try { Map<String, String> view = new TreeMap<String, String>(); for (ClassMapping mapping : _delegate.keySet()) { view.put(mapping.getDescribedType().getName(), _delegate.get(mapping).getQueryString()); } return view; } finally { unlock(); } }
/** * Get a map-oriented view of the cache. * * @return a map of the query string with class names as key. */ public Map<String, String> getMapView() { lock(); try { Map<String, String> view = new TreeMap<String, String>(); for (ClassMapping mapping : _delegate.keySet()) { view.put(mapping.getDescribedType().getName(), _delegate.get(mapping).getQueryString()); } return view; } finally { unlock(); } }
/** * Get a map-oriented view of the cache. * * @return a map of the query string with class names as key. */ public Map<String, String> getMapView() { lock(); try { Map<String, String> view = new TreeMap<String, String>(); for (ClassMapping mapping : _delegate.keySet()) { view.put(mapping.getDescribedType().getName(), _delegate.get(mapping).getQueryString()); } return view; } finally { unlock(); } }