Uses of Class
io.opencensus.common.Timestamp
Packages that use Timestamp
Package
Description
Common API between different packages in this artifact.
Interfaces and implementations that are internal to OpenCensus.
This package describes common data models in Metrics that are shared across multiple packages.
API for stats recording.
API for distributed tracing.
-
Uses of Timestamp in io.opencensus.common
Classes in io.opencensus.common that implement interfaces with type arguments of type TimestampMethods in io.opencensus.common that return TimestampModifier and TypeMethodDescriptionTimestamp.addDuration(Duration duration) Returns aTimestampcalculated as thisTimestampplus someDuration.Timestamp.addNanos(long nanosToAdd) Returns aTimestampcalculated as thisTimestampplus some number of nanoseconds.static TimestampTimestamp.create(long seconds, int nanos) Creates a new timestamp from given seconds and nanoseconds.static TimestampTimestamp.fromMillis(long epochMilli) Creates a new timestamp from the given milliseconds.abstract TimestampClock.now()Obtains the current instant from this clock.Methods in io.opencensus.common with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.implcore.common
Methods in io.opencensus.implcore.common that return Timestamp -
Uses of Timestamp in io.opencensus.implcore.internal
Methods in io.opencensus.implcore.internal that return Timestamp -
Uses of Timestamp in io.opencensus.internal
Methods in io.opencensus.internal that return Timestamp -
Uses of Timestamp in io.opencensus.metrics.data
Methods in io.opencensus.metrics.data that return TimestampModifier and TypeMethodDescriptionabstract TimestampExemplar.getTimestamp()Returns the time that thisExemplar's value was recorded.Methods in io.opencensus.metrics.data with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.metrics.export
Methods in io.opencensus.metrics.export that return TimestampModifier and TypeMethodDescriptionabstract TimestampTimeSeries.getStartTimestamp()Returns the startTimestampof thisTimeSeriesif thePoints are cumulative, ornullif thePoints are gauge.abstract TimestampPoint.getTimestamp()Methods in io.opencensus.metrics.export with parameters of type TimestampModifier and TypeMethodDescriptionstatic PointCreates aPoint.static TimeSeriesCreates aTimeSeries.static TimeSeriesTimeSeries.createWithOnePoint(List<LabelValue> labelValues, Point point, Timestamp startTimestamp) Creates aTimeSeries. -
Uses of Timestamp in io.opencensus.stats
Methods in io.opencensus.stats that return TimestampModifier and TypeMethodDescriptionabstract TimestampViewData.AggregationWindowData.CumulativeData.getEnd()Deprecated.Returns the endTimestampfor aViewData.AggregationWindowData.CumulativeData.abstract TimestampViewData.AggregationWindowData.IntervalData.getEnd()Deprecated.Returns the endTimestampfor anViewData.AggregationWindowData.IntervalData.abstract TimestampViewData.getEnd()Returns the endTimestampfor aViewData.abstract TimestampViewData.AggregationWindowData.CumulativeData.getStart()Deprecated.Returns the startTimestampfor aViewData.AggregationWindowData.CumulativeData.abstract TimestampViewData.getStart()Returns the startTimestampfor aViewData.Methods in io.opencensus.stats with parameters of type TimestampModifier and TypeMethodDescriptionDeprecated.Constructs a newViewData.AggregationWindowData.CumulativeData.Deprecated.Constructs a newViewData.AggregationWindowData.IntervalData.static ViewDataViewData.create(View view, Map<? extends List<TagValue>, ? extends AggregationData> map, Timestamp start, Timestamp end) Constructs a newViewData. -
Uses of Timestamp in io.opencensus.testing.common
Methods in io.opencensus.testing.common that return TimestampMethods in io.opencensus.testing.common with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.trace
Methods in io.opencensus.trace that return TimestampModifier and TypeMethodDescriptionabstract TimestampNetworkEvent.getKernelTimestamp()Deprecated.Returns the kernel timestamp associated with theNetworkEventornullif not set.Methods in io.opencensus.trace with parameters of type TimestampModifier and TypeMethodDescriptionabstract NetworkEvent.BuilderNetworkEvent.Builder.setKernelTimestamp(Timestamp kernelTimestamp) Deprecated.Sets the kernel timestamp. -
Uses of Timestamp in io.opencensus.trace.export
Methods in io.opencensus.trace.export that return TimestampModifier and TypeMethodDescriptionabstract TimestampSpanData.getEndTimestamp()Returns the endTimestampornullif theSpanis still active.abstract TimestampSpanData.getStartTimestamp()Returns the startTimestampof thisSpan.abstract TimestampSpanData.TimedEvent.getTimestamp()Returns theTimestampof this event.Methods in io.opencensus.trace.export with parameters of type TimestampModifier and TypeMethodDescriptionstatic SpanDataSpanData.create(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) Deprecated.static SpanDataSpanData.create(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) Returns a new immutableSpanData.static <T> SpanData.TimedEvent<T> Returns a new immutableTimedEvent<T>.
SpanData.create(SpanContext, SpanId, Boolean, String, Kind, Timestamp, Attributes, TimedEvents, TimedEvents, Links, Integer, Status, Timestamp).