private static long totalEntryCountOnNode(String name, HazelcastInstance instance) { IMap map = instance.getMap(name); LocalMapStats localMapStats = map.getLocalMapStats(); long ownedEntryCount = localMapStats.getOwnedEntryCount(); long backupEntryCount = localMapStats.getBackupEntryCount(); return ownedEntryCount + backupEntryCount; }
@ManagedAnnotation("localBackupEntryCount") @ManagedDescription("the number of backup entries hold on this member") public long getLocalBackupEntryCount() { return localMapStatsDelegate.getLocalStats().getBackupEntryCount(); }
@ManagedAnnotation("localBackupEntryCount") @ManagedDescription("the number of backup entries hold on this member") public long getLocalBackupEntryCount() { return localMapStatsDelegate.getLocalStats().getBackupEntryCount(); }