public abstract class ExtendedCommandFinishedNotification extends CommandNotification
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
cpuTimeSec
Tempo de CPU do comando.
|
protected Integer |
elapsedTimeSec
Tempo de parede do comando.
|
protected long |
endTime
hora de término
|
protected Integer |
userTimeSec
Tempo de usuário do comando.
|
cmdDesc, commandId, execHost, finalizationInfo, startTime, tip| Constructor and Description |
|---|
ExtendedCommandFinishedNotification(String sender,
Object commandId,
String cmdDesc,
String tip,
Integer elapsedTimeSec,
Integer userTimeSec,
Integer cpuTimeSec,
long startTime,
long endTime,
String execHost,
Object projectId,
CommandFinalizationInfo finalizationInfo)
Constrói o evento de término de comando.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCPUTime()
Retorna o tempo de sistema.
|
Integer |
getElapsedTime()
Retorna o tempo de parede do comando.
|
long |
getEndTime()
Retorna a hora de término da execução do comando.
|
Integer |
getUserTime()
Retorna o tempo em modo usuário.
|
String |
toString()
String para auditagem.
|
getCmdDesc, getCommandId, getExecHost, getFinalizationInfo, getProjectId, getStartTime, getStatusString, getTip, isVolatile, setFinalizationInfogetDisplay, getMustPopUp, getSender, setDisplaygetCreationDateprotected Integer elapsedTimeSec
protected Integer userTimeSec
protected Integer cpuTimeSec
protected long endTime
public ExtendedCommandFinishedNotification(String sender, Object commandId, String cmdDesc, String tip, Integer elapsedTimeSec, Integer userTimeSec, Integer cpuTimeSec, long startTime, long endTime, String execHost, Object projectId, CommandFinalizationInfo finalizationInfo)
sender - Quem está enviando a notificação (não pode ser null).commandId - identificador do comando.cmdDesc - descrição do comando.tip - Dica para auxiliar a identificação do algoritmo do comando.elapsedTimeSec - tempo de parede.userTimeSec - tempo em modo usuário.cpuTimeSec - tempo em modo sistema.startTime - Hora de inícioendTime - Hora de término.execHost - Servidor de execução.projectId - identificador do projetofinalizationInfo - Informações sobre a finalização do comando.public String toString()
toString in class Notificationpublic Integer getElapsedTime()
public Integer getUserTime()
public Integer getCPUTime()
public long getEndTime()
Copyright © 2016. All rights reserved.