public void stopMonitor(){ monitor.stopListener(); regionMonitor.stopListener(); gcMonitor.stopListener(); systemStatsMonitor.stopListener(); vmStatsMonitor.stopListener(); }
private void initClusterMonitors(){ this.memberMBeanMonitor = new MemberClusterStatsMonitor(); this.serverMBeanMonitor = new ServerClusterStatsMonitor(); this.senderMonitor = new GatewaySenderClusterStatsMonitor(); this.receiverMonitor = new GatewayReceiverClusterStatsMonitor(); }
public void aggregate(FederationComponent newState, FederationComponent oldState) { aggregator.aggregate(newState, oldState); // Special Aggregations incSystemDiskStoreCount(newState, oldState); deltas.aggregate(newState,oldState); }
public void aggregate(FederationComponent newState, FederationComponent oldState) { aggregator.aggregate(newState, oldState); incLastAccessedTime(newState, oldState); incLastModifiedTime(newState, oldState); updateEntryCount(newState, oldState); setFixedAttributes(newState, oldState); }
private void initializeStats() { eventsQueuedRate = new StatsRate(StatsKey.GATEWAYSENDER_EVENTS_QUEUED, StatType.INT_TYPE, monitor); eventsReceivedRate = new StatsRate(StatsKey.GATEWAYSENDER_EVENTS_RECEIVED, StatType.INT_TYPE, monitor); batchesDispatchedRate = new StatsRate( StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTED, StatType.INT_TYPE, monitor); batchDistributionAvgLatency = new StatsAverageLatency( StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTED, StatType.INT_TYPE, StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTE_TIME, monitor); }
public void removePartitionStatistics(Statistics stats) { MemberLevelRegionStatisticsListener listener = removeListener(stats); if (listener != null) { listener.decreaseParStats(stats); } }
public void stopMonitor() { diskRegionMonitor.stopListener(); aggregateRegionMonitor.stopListener(); }
public void aggregate(FederationComponent newState, FederationComponent oldState) { aggregator.aggregate(newState, oldState); incLastAccessedTime(newState, oldState); incLastModifiedTime(newState, oldState); incNumBucketsWithoutRedundancy(newState, oldState); updateEntryCount(newState, oldState); setFixedAttributes(newState, oldState); }
private void initializeCacheServerStats() { clientNotificationRate = new StatsRate( StatsKey.NUM_CLIENT_NOTIFICATION_REQUEST, StatType.INT_TYPE, monitor); clientNotificatioAvgLatency = new StatsAverageLatency( StatsKey.NUM_CLIENT_NOTIFICATION_REQUEST, StatType.INT_TYPE, StatsKey.CLIENT_NOTIFICATION_PROCESS_TIME, monitor); queryRequestRate = new StatsRate(StatsKey.QUERY_REQUESTS, StatType.INT_TYPE, monitor); }
public void aggregate(FederationComponent newState, FederationComponent oldState) { aggregator.aggregate(newState, oldState); // Special Aggregations incSystemDiskStoreCount(newState, oldState); deltas.aggregate(newState,oldState); }
public void stopMonitor(){ monitor.stopListener(); regionMonitor.stopListener(); gcMonitor.stopListener(); systemStatsMonitor.stopListener(); vmStatsMonitor.stopListener(); }
private void initClusterMonitors(){ this.memberMBeanMonitor = new MemberClusterStatsMonitor(); this.serverMBeanMonitor = new ServerClusterStatsMonitor(); this.senderMonitor = new GatewaySenderClusterStatsMonitor(); this.receiverMonitor = new GatewayReceiverClusterStatsMonitor(); }
public void removePartitionStatistics(Statistics stats) { MemberLevelRegionStatisticsListener listener = removeListener(stats); if (listener != null) { listener.decreaseParStats(stats); } }
public void stopMonitor() { diskRegionMonitor.stopListener(); aggregateRegionMonitor.stopListener(); }
private void configureDiskRegionMetrics() { diskRegionReadsRate = new StatsRate(StatsKey.DISK_READS, StatType.LONG_TYPE, diskRegionMonitor); diskRegionWritesRate = new StatsRate(StatsKey.DISK_WRITES, StatType.LONG_TYPE, diskRegionMonitor); diskRegionReadsAverageLatency = new StatsAverageLatency(StatsKey.DISK_READS, StatType.LONG_TYPE, StatsKey.DISK_REGION_READ_TIME, diskRegionMonitor); diskRegionWritesAverageLatency = new StatsAverageLatency(StatsKey.DISK_WRITES, StatType.LONG_TYPE, StatsKey.DISK_REGION_WRITE_TIMES, diskRegionMonitor); }
private void initializeCacheServerStats() { clientNotificationRate = new StatsRate(StatsKey.NUM_CLIENT_NOTIFICATION_REQUEST, StatType.INT_TYPE, monitor); clientNotificatioAvgLatency = new StatsAverageLatency(StatsKey.NUM_CLIENT_NOTIFICATION_REQUEST, StatType.INT_TYPE, StatsKey.CLIENT_NOTIFICATION_PROCESS_TIME, monitor); queryRequestRate = new StatsRate(StatsKey.QUERY_REQUESTS, StatType.INT_TYPE, monitor); }
private void initializeStats() { getRequestRate = new StatsRate(StatsKey.GET_REQUESTS, StatType.INT_TYPE, monitor); putRequestRate = new StatsRate(StatsKey.PUT_REQUESTS, StatType.INT_TYPE, monitor); getRequestAvgLatency = new StatsAverageLatency(StatsKey.GET_REQUESTS, StatType.INT_TYPE, StatsKey.PROCESS_GET_TIME, monitor); putRequestAvgLatency = new StatsAverageLatency(StatsKey.PUT_REQUESTS, StatType.INT_TYPE, StatsKey.PROCESS_PUT_TIME, monitor); }
private void initializeStats() { getRequestRate = new StatsRate(StatsKey.GET_REQUESTS, StatType.INT_TYPE, monitor); putRequestRate = new StatsRate(StatsKey.PUT_REQUESTS, StatType.INT_TYPE, monitor); getRequestAvgLatency = new StatsAverageLatency(StatsKey.GET_REQUESTS, StatType.INT_TYPE, StatsKey.PROCESS_GET_TIME, monitor); putRequestAvgLatency = new StatsAverageLatency(StatsKey.PUT_REQUESTS, StatType.INT_TYPE, StatsKey.PROCESS_PUT_TIME, monitor); }
private void configureDiskRegionMetrics() { diskRegionReadsRate = new StatsRate(StatsKey.DISK_READS, StatType.LONG_TYPE, diskRegionMonitor); diskRegionWritesRate = new StatsRate(StatsKey.DISK_WRITES, StatType.LONG_TYPE, diskRegionMonitor); diskRegionReadsAverageLatency = new StatsAverageLatency(StatsKey.DISK_READS, StatType.LONG_TYPE, StatsKey.DISK_REGION_READ_TIME, diskRegionMonitor); diskRegionWritesAverageLatency = new StatsAverageLatency(StatsKey.DISK_WRITES, StatType.LONG_TYPE, StatsKey.DISK_REGION_WRITE_TIMES, diskRegionMonitor); }
private void initializeStats() { eventsQueuedRate = new StatsRate(StatsKey.GATEWAYSENDER_EVENTS_QUEUED, StatType.INT_TYPE, monitor); eventsReceivedRate = new StatsRate(StatsKey.GATEWAYSENDER_EVENTS_RECEIVED, StatType.INT_TYPE, monitor); batchesDispatchedRate = new StatsRate( StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTED, StatType.INT_TYPE, monitor); batchDistributionAvgLatency = new StatsAverageLatency( StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTED, StatType.INT_TYPE, StatsKey.GATEWAYSENDER_BATCHES_DISTRIBUTE_TIME, monitor); }