de.dagere.kopeme.datacollection.EndRAMCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kopeme-core Show documentation
Show all versions of kopeme-core Show documentation
KoPeMe performance testing core
package de.dagere.kopeme.datacollection;
public class EndRAMCollector extends DataCollector {
private long value;
@Override
public int getPriority() {
return MIDDLE_COLLECTOR_PRIORITY; // Middle-High Priority, as the RAMUsageCollector should not
// measure the things other DataCollectors create
}
@Override
public void startCollection() {
}
@Override
public void stopCollection() {
value = Runtime.getRuntime().totalMemory();
}
@Override
public long getValue() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy