collector.setMaxUsedNonHeapMemorySize(21L); collector.setMinComittedNonHeapMemorySize(22L); collector.setMaxComittedNonHeapMemorySize(23L); collector.setTotalComittedNonHeapMemorySize(24L);
collector.setMaxUsedNonHeapMemorySize(21L); collector.setMinComittedNonHeapMemorySize(22L); collector.setMaxComittedNonHeapMemorySize(23L); collector.setTotalComittedNonHeapMemorySize(24L);
/** * {@inheritDoc} */ @Override public void reset() { this.memoryInformationData.setCount(0); this.memoryInformationData.setTotalFreePhysMemory(0L); this.memoryInformationData.setMinFreePhysMemory(Long.MAX_VALUE); this.memoryInformationData.setMaxFreePhysMemory(0L); this.memoryInformationData.setTotalFreeSwapSpace(0L); this.memoryInformationData.setMinFreeSwapSpace(Long.MAX_VALUE); this.memoryInformationData.setMaxFreeSwapSpace(0L); this.memoryInformationData.setTotalComittedVirtualMemSize(0L); this.memoryInformationData.setMinComittedVirtualMemSize(Long.MAX_VALUE); this.memoryInformationData.setMaxComittedVirtualMemSize(0L); this.memoryInformationData.setTotalUsedHeapMemorySize(0L); this.memoryInformationData.setMinUsedHeapMemorySize(Long.MAX_VALUE); this.memoryInformationData.setMaxUsedHeapMemorySize(0L); this.memoryInformationData.setTotalComittedHeapMemorySize(0L); this.memoryInformationData.setMinComittedHeapMemorySize(Long.MAX_VALUE); this.memoryInformationData.setMaxComittedHeapMemorySize(0L); this.memoryInformationData.setTotalUsedNonHeapMemorySize(0L); this.memoryInformationData.setMinUsedNonHeapMemorySize(Long.MAX_VALUE); this.memoryInformationData.setMaxUsedNonHeapMemorySize(0L); this.memoryInformationData.setTotalComittedNonHeapMemorySize(0L); this.memoryInformationData.setMinComittedNonHeapMemorySize(Long.MAX_VALUE); this.memoryInformationData.setMaxComittedNonHeapMemorySize(0L); Timestamp timestamp = new Timestamp(Calendar.getInstance().getTimeInMillis()); this.memoryInformationData.setTimeStamp(timestamp); }
this.memoryInformationData.setMinComittedNonHeapMemorySize(comittedNonHeapMemorySize); } else if (comittedNonHeapMemorySize > this.memoryInformationData.getMaxComittedNonHeapMemorySize()) { this.memoryInformationData.setMaxComittedNonHeapMemorySize(comittedNonHeapMemorySize);
newMemoryInformationData.setMaxUsedNonHeapMemorySize(this.memoryInformationData.getMaxUsedNonHeapMemorySize()); newMemoryInformationData.setMinComittedNonHeapMemorySize(this.memoryInformationData.getMinComittedNonHeapMemorySize()); newMemoryInformationData.setMaxComittedNonHeapMemorySize(this.memoryInformationData.getMaxComittedNonHeapMemorySize()); newMemoryInformationData.setTotalComittedNonHeapMemorySize(this.memoryInformationData.getTotalComittedNonHeapMemorySize());