private synchronized T findCounterImpl(String counterName, boolean create) { T counter = counters.get(counterName); if (counter == null && create) { String localized = ResourceBundles.getCounterName(getName(), counterName, counterName); return addCounterImpl(counterName, localized, 0); } return counter; }
@Override public String getDisplayName() { if (displayName == null) { displayName = ResourceBundles.getCounterGroupName(getName(), getName()); } return displayName; }
@Override public String getDisplayName() { if (displayName == null) { displayName = ResourceBundles.getCounterGroupName(getName(), "File System Counters"); } return displayName; }
@Override public String getDisplayName() { return ResourceBundles.getCounterName(groupName, getName(), getName()); }
protected String localizeCounterName(String counterName) { return ResourceBundles.getCounterName(FileSystemCounter.class.getName(), counterName, counterName); }