Class EppMetric
java.lang.Object
google.registry.monitoring.whitebox.EppMetric
A value class for recording attributes of an EPP metric.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EppMetric.Builder
builder()
Create anEppMetric.Builder
.static EppMetric.Builder
builderForRequest
(Clock clock) Create anEppMetric.Builder
for a request context, with the given request ID and with start and end timestamps taken from the given clock.abstract org.joda.time.DateTime
abstract org.joda.time.DateTime
abstract Optional
<Result.Code> getTld()
-
Constructor Details
-
EppMetric
public EppMetric()
-
-
Method Details
-
getStartTimestamp
public abstract org.joda.time.DateTime getStartTimestamp() -
getEndTimestamp
public abstract org.joda.time.DateTime getEndTimestamp() -
getCommandName
-
getRegistrarId
-
getTld
-
getStatus
-
builder
Create anEppMetric.Builder
. -
builderForRequest
Create anEppMetric.Builder
for a request context, with the given request ID and with start and end timestamps taken from the given clock.The start timestamp is recorded now, and the end timestamp at
build()
.
-