All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gridkit.nimble.probe.jmx.gc.GarbageCollectionSampler Maven / Gradle / Ivy

package org.gridkit.nimble.probe.jmx.gc;

import java.util.Collection;

public interface GarbageCollectionSampler {

	public void report(String algoName, int eventsMissed, long gcStart, long gcFinish, long gcDuration, GcReport info);
	
	interface GcReport {
		
		public boolean isYoungGC();

		public long getCollectedSize();

		public long getPromotedSize();

		public long getTotalSizeBefore();

		public long getTotalSizeAfter();
		
		public Collection getColletedPools();

		public Collection getAllCollectedPools();

		public Collection getAllMemoryPools();

		public long getSizeBefore(String pool);

		public long getSizeAfter(String pool);

		public long getSizeBefore(Collection pools);

		public long getSizeAfter(Collection pools);

	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy