@Override public Long call() throws Exception { IMap<Long, Document> xddCache = hzInstance.getMap(CN_XDM_DOCUMENT); IMap<DataKey, Element> xdmCache = hzInstance.getMap(CN_XDM_ELEMENT); LocalMapStats stats = xddCache.getLocalMapStats(); long size = stats.getBackupEntryMemoryCost() + stats.getOwnedEntryMemoryCost(); stats = xdmCache.getLocalMapStats(); size += stats.getBackupEntryMemoryCost() + stats.getOwnedEntryMemoryCost(); return size; }
@ManagedAnnotation("localOwnedEntryMemoryCost") @ManagedDescription("memory cost (number of bytes) of owned entries on this member") public long getLocalOwnedEntryMemoryCost() { return localMapStatsDelegate.getLocalStats().getOwnedEntryMemoryCost(); }
@ManagedAnnotation("localOwnedEntryMemoryCost") @ManagedDescription("memory cost (number of bytes) of owned entries on this member") public long getLocalOwnedEntryMemoryCost() { return localMapStatsDelegate.getLocalStats().getOwnedEntryMemoryCost(); }
long actualSize = localMapStats.getOwnedEntryMemoryCost(); setActualSize(actualSize);
long actualSize = localMapStats.getOwnedEntryMemoryCost(); setActualSize(actualSize);