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

org.beifengtz.jvmm.server.entity.dto.ProfilerSampleDTO Maven / Gradle / Ivy

Go to download

Provides access to operating system, process, thread and other information during Java runtime.

There is a newer version: 2.4.3
Show newest version
package org.beifengtz.jvmm.server.entity.dto;

import org.beifengtz.jvmm.core.entity.profiler.ProfilerCounter;
import org.beifengtz.jvmm.core.entity.profiler.ProfilerEvent;

/**
 * 

* Description: TODO *

*

* Created in 17:38 2022/9/13 * * @author beifengtz */ public class ProfilerSampleDTO{ private String format = "html"; private String event = ProfilerEvent.cpu.name(); private ProfilerCounter counter = ProfilerCounter.samples; private int time = 10; // 单位秒 private Long interval; public String getFormat() { return format; } public String getEvent() { return event; } public ProfilerCounter getCounter() { return counter; } public int getTime() { return time; } public ProfilerSampleDTO setFormat(String format) { this.format = format; return this; } public ProfilerSampleDTO setEvent(String event) { this.event = event; return this; } public ProfilerSampleDTO setCounter(ProfilerCounter counter) { this.counter = counter; return this; } public ProfilerSampleDTO setTime(int time) { this.time = time; return this; } public Long getInterval() { return interval; } public ProfilerSampleDTO setInterval(Long interval) { this.interval = interval; return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy