collector.setMaxUsedHeapMemorySize(15L); collector.setTotalComittedHeapMemorySize(16L); collector.setMinComittedHeapMemorySize(17L); collector.setMaxComittedHeapMemorySize(18L);
collector.setMaxUsedHeapMemorySize(15L); collector.setTotalComittedHeapMemorySize(16L); collector.setMinComittedHeapMemorySize(17L); collector.setMaxComittedHeapMemorySize(18L);
/** * {@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); }
newMemoryInformationData.setMaxUsedHeapMemorySize(this.memoryInformationData.getMaxUsedHeapMemorySize()); newMemoryInformationData.setTotalComittedHeapMemorySize(this.memoryInformationData.getTotalComittedHeapMemorySize()); newMemoryInformationData.setMinComittedHeapMemorySize(this.memoryInformationData.getMinComittedHeapMemorySize()); newMemoryInformationData.setMaxComittedHeapMemorySize(this.memoryInformationData.getMaxComittedHeapMemorySize());