public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), META_DATA_REGION_NAME); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "partitionMetaData"); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "managementRegionStats"); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "managementRegionStats"); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "managementRegionStats"); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "partitionMetaData"); } };
public CachePerfStats getCachePerfStats() { return new CachePerfStats(cache.getDistributedSystem(), "managementRegionStats"); } };
protected void init() { cachePerfStats = new CachePerfStats(system); partitionedRegionStats = new PartitionedRegionStats(system, "/tests"); diskRegionStats = new DiskRegionStats(system, "test-disk"); bridge = new RegionMBeanBridge(cachePerfStats); parBridge = new PartitionedRegionBridge(partitionedRegionStats); diskBridge = new DiskRegionBridge(diskRegionStats); }
public void init() { cachePerfStats = new CachePerfStats(system); funcServiceStats = new FunctionServiceStats(system, "FunctionExecution"); long statId = OSProcess.getId(); distributionStats = new DistributionStats(system, statId); DistributionStats.enableClockStats = true; dlockStats = new DLockStats(system, statId); bridge = new MemberMBeanBridge(); bridge.addCacheStats(cachePerfStats); bridge.addFunctionStats(funcServiceStats); bridge.addDistributionStats(distributionStats); bridge.addLockServiceStats(dlockStats); bridge.addSystemStats(); bridge.addVMStats(); for(int i = 0; i<4 ; i++){ DiskStoreStats stats = new DiskStoreStats(system, getName()+i); diskStatsList.add(stats); bridge.addDiskStoreStats(stats); } for(int i = 0; i<4 ; i++){ PartitionedRegionStats stats = new PartitionedRegionStats(system, getName()+i); parRegionStatsList.add(stats); bridge.addPartionRegionStats(stats); } }
this.cachePerfStats = new CachePerfStats(system); CachePerfStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics();
this.cachePerfStats = new CachePerfStats(system); CachePerfStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics();