@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("localBackupEntryMemoryCost") @ManagedDescription("memory cost (number of bytes) of backup entries on this member.") public long getLocalBackupEntryMemoryCost() { return localMapStatsDelegate.getLocalStats().getBackupEntryMemoryCost(); }
@ManagedAnnotation("localBackupEntryMemoryCost") @ManagedDescription("memory cost (number of bytes) of backup entries on this member.") public long getLocalBackupEntryMemoryCost() { return localMapStatsDelegate.getLocalStats().getBackupEntryMemoryCost(); }