/** * {@inheritDoc} */ @Override public ClassLoadingInformationData getClone(ClassLoadingInformationData classLoadingInformationData) { ClassLoadingInformationData clone = new ClassLoadingInformationData(); clone.setPlatformIdent(classLoadingInformationData.getPlatformIdent()); clone.setSensorTypeIdent(classLoadingInformationData.getSensorTypeIdent()); return clone; }
/** * {@inheritDoc} */ @Override public void setInputDefinition(InputDefinition inputDefinition) { super.setInputDefinition(inputDefinition); classLoadingObj = new ClassLoadingInformationData(); classLoadingObj.setPlatformIdent(inputDefinition.getIdDefinition().getPlatformId()); dataAccessService = inputDefinition.getRepositoryDefinition().getGlobalDataAccessService(); }
ClassLoadingInformationData collector = (ClassLoadingInformationData) this.cut.getSystemSensorData(); collector.setPlatformIdent(1L); collector.setSensorTypeIdent(2L); collector.setCount(3);
ClassLoadingInformationData collector = (ClassLoadingInformationData) this.cut.getSystemSensorData(); collector.setPlatformIdent(1L); collector.setSensorTypeIdent(2L); collector.setCount(3);
/** * {@inheritDoc} */ @Override public void setInputDefinition(InputDefinition inputDefinition) { super.setInputDefinition(inputDefinition); template = new ClassLoadingInformationData(); template.setPlatformIdent(inputDefinition.getIdDefinition().getPlatformId()); template.setSensorTypeIdent(inputDefinition.getIdDefinition().getSensorTypeId()); template.setId(-1L); dataAccessService = inputDefinition.getRepositoryDefinition().getGlobalDataAccessService(); aggregator = new ClassLoadingInformationDataAggregator(); }
/** * {@inheritDoc} */ @Override public void setInputDefinition(InputDefinition inputDefinition) { super.setInputDefinition(inputDefinition); long platformId = inputDefinition.getIdDefinition().getPlatformId(); systemObj = new SystemInformationData(); systemObj.setPlatformIdent(platformId); classLoadingObj = new ClassLoadingInformationData(); classLoadingObj.setPlatformIdent(platformId); cpuObj = new CpuInformationData(); cpuObj.setPlatformIdent(platformId); compilationObj = new CompilationInformationData(); compilationObj.setPlatformIdent(platformId); memoryObj = new MemoryInformationData(); memoryObj.setPlatformIdent(platformId); runtimeObj = new RuntimeInformationData(); runtimeObj.setPlatformIdent(platformId); threadObj = new ThreadInformationData(); threadObj.setPlatformIdent(platformId); dataAccessService = inputDefinition.getRepositoryDefinition().getGlobalDataAccessService(); }
/** * {@inheritDoc} */ @Override public SystemSensorData get() { ClassLoadingInformationData newClassLoadingInformationData = new ClassLoadingInformationData(); newClassLoadingInformationData.setPlatformIdent(this.classLoadingInformationData.getPlatformIdent()); newClassLoadingInformationData.setSensorTypeIdent(this.classLoadingInformationData.getSensorTypeIdent()); newClassLoadingInformationData.setCount(this.classLoadingInformationData.getCount()); newClassLoadingInformationData.setTotalLoadedClassCount(this.classLoadingInformationData.getTotalLoadedClassCount()); newClassLoadingInformationData.setMinLoadedClassCount(this.classLoadingInformationData.getMinLoadedClassCount()); newClassLoadingInformationData.setMaxLoadedClassCount(this.classLoadingInformationData.getMaxLoadedClassCount()); newClassLoadingInformationData.setTotalTotalLoadedClassCount(this.classLoadingInformationData.getTotalTotalLoadedClassCount()); newClassLoadingInformationData.setMinTotalLoadedClassCount(this.classLoadingInformationData.getMinTotalLoadedClassCount()); newClassLoadingInformationData.setMaxTotalLoadedClassCount(this.classLoadingInformationData.getMaxTotalLoadedClassCount()); newClassLoadingInformationData.setTotalUnloadedClassCount(this.classLoadingInformationData.getTotalUnloadedClassCount()); newClassLoadingInformationData.setMinUnloadedClassCount(this.classLoadingInformationData.getMinUnloadedClassCount()); newClassLoadingInformationData.setMaxUnloadedClassCount(this.classLoadingInformationData.getMaxUnloadedClassCount()); newClassLoadingInformationData.setTimeStamp(this.classLoadingInformationData.getTimeStamp()); return newClassLoadingInformationData; }