Package com.apple.foundationdb.clientlog
Class FDBClientLogEvents.Event
- java.lang.Object
-
- com.apple.foundationdb.clientlog.FDBClientLogEvents.Event
-
- Direct Known Subclasses:
FDBClientLogEvents.EventCommit
,FDBClientLogEvents.EventCommitError
,FDBClientLogEvents.EventGet
,FDBClientLogEvents.EventGetError
,FDBClientLogEvents.EventGetRange
,FDBClientLogEvents.EventGetRangeError
,FDBClientLogEvents.EventGetVersion
- Enclosing class:
- FDBClientLogEvents
public abstract static class FDBClientLogEvents.Event extends Object
Base class for parsed events.
-
-
Field Summary
Fields Modifier and Type Field Description protected double
startTimestamp
-
Constructor Summary
Constructors Modifier Constructor Description protected
Event(double startTimestamp)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Instant
getStartTimestamp()
double
getStartTimestampDouoble()
String
getStartTimestampString()
Get start timestamp formatted for the local time zone.abstract int
getType()
-
-
-
Method Detail
-
getType
public abstract int getType()
-
getStartTimestampDouoble
public double getStartTimestampDouoble()
-
getStartTimestamp
public Instant getStartTimestamp()
-
getStartTimestampString
public String getStartTimestampString()
Get start timestamp formatted for the local time zone.- Returns:
- a printable timestamp
-
-