public class MetricLogEntry extends Object
Constructor and Description |
---|
MetricLogEntry(MetricEvent event) |
MetricLogEntry(MetricEvent event,
org.dataone.service.types.v1.NodeReference nodeId) |
MetricLogEntry(MetricEvent event,
org.dataone.service.types.v1.NodeReference nodeId,
org.dataone.service.types.v1.Identifier pid) |
MetricLogEntry(MetricEvent event,
org.dataone.service.types.v1.NodeReference nodeId,
org.dataone.service.types.v1.Identifier pid,
String message) |
MetricLogEntry(MetricEvent event,
org.dataone.service.types.v1.NodeReference nodeId,
org.dataone.service.types.v1.Identifier pid,
String message,
Long timeToCompleteEventMS) |
MetricLogEntry(MetricEvent event,
String message,
org.dataone.service.types.v1.NodeReference nodeId,
org.dataone.service.types.v1.Identifier pid,
Long timeToCompleteEventMS,
Date dateLogged) |
Modifier and Type | Method and Description |
---|---|
Date |
getDateLogged() |
MetricEvent |
getEvent() |
String |
getMessage() |
org.dataone.service.types.v1.NodeReference |
getNodeId() |
org.dataone.service.types.v1.Identifier |
getPid() |
Long |
getTimeToCompleteEventMS() |
void |
setDateLogged(Date dateLogged) |
void |
setEvent(MetricEvent event) |
void |
setMessage(String message) |
void |
setNodeId(org.dataone.service.types.v1.NodeReference nodeId) |
void |
setPid(org.dataone.service.types.v1.Identifier pid) |
void |
setTimeToCompleteEventMS(Long timeToCompleteEventMS) |
String |
toString()
Transform the object into JSON
|
public MetricLogEntry(MetricEvent event)
public MetricLogEntry(MetricEvent event, org.dataone.service.types.v1.NodeReference nodeId)
public MetricLogEntry(MetricEvent event, org.dataone.service.types.v1.NodeReference nodeId, org.dataone.service.types.v1.Identifier pid)
public MetricLogEntry(MetricEvent event, org.dataone.service.types.v1.NodeReference nodeId, org.dataone.service.types.v1.Identifier pid, String message)
public MetricLogEntry(MetricEvent event, org.dataone.service.types.v1.NodeReference nodeId, org.dataone.service.types.v1.Identifier pid, String message, Long timeToCompleteEventMS)
public MetricLogEntry(MetricEvent event, String message, org.dataone.service.types.v1.NodeReference nodeId, org.dataone.service.types.v1.Identifier pid, Long timeToCompleteEventMS, Date dateLogged)
public org.dataone.service.types.v1.Identifier getPid()
public void setPid(org.dataone.service.types.v1.Identifier pid)
public org.dataone.service.types.v1.NodeReference getNodeId()
public void setNodeId(org.dataone.service.types.v1.NodeReference nodeId)
public MetricEvent getEvent()
public void setEvent(MetricEvent event)
public Date getDateLogged()
public void setDateLogged(Date dateLogged)
public String getMessage()
public void setMessage(String message)
public Long getTimeToCompleteEventMS()
public void setTimeToCompleteEventMS(Long timeToCompleteEventMS)
Copyright © 2020. All rights reserved.