public class ProfileTaskCommand extends BaseCommand implements Serializable, Deserializable<ProfileTaskCommand>
| Modifier and Type | Field and Description |
|---|---|
static Deserializable<ProfileTaskCommand> |
DESERIALIZER |
static String |
NAME |
| Constructor and Description |
|---|
ProfileTaskCommand(String serialNumber,
String taskId,
String endpointName,
int duration,
int minDurationThreshold,
int dumpPeriod,
int maxSamplingCount,
long startTime,
long createTime) |
| Modifier and Type | Method and Description |
|---|---|
ProfileTaskCommand |
deserialize(Command command) |
long |
getCreateTime() |
int |
getDumpPeriod() |
int |
getDuration() |
String |
getEndpointName() |
int |
getMaxSamplingCount() |
int |
getMinDurationThreshold() |
long |
getStartTime() |
String |
getTaskId() |
Command.Builder |
serialize() |
getCommand, getSerialNumberpublic static final Deserializable<ProfileTaskCommand> DESERIALIZER
public static final String NAME
public ProfileTaskCommand deserialize(Command command)
deserialize in interface Deserializable<ProfileTaskCommand>public Command.Builder serialize()
serialize in interface Serializablepublic String getEndpointName()
public int getDuration()
public int getMinDurationThreshold()
public int getDumpPeriod()
public int getMaxSamplingCount()
public long getStartTime()
public long getCreateTime()
public String getTaskId()
Copyright © 2022 The Apache Software Foundation. All rights reserved.