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
Subclasses of Timestamp in io.opencensus.commonClasses 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.private static TimestampTimestamp.ofEpochSecond(long epochSecond, long nanoAdjustment) private TimestampTimestamp.plus(long secondsToAdd, long nanosToAdd) Methods in io.opencensus.common with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.contrib.zpages
Methods in io.opencensus.contrib.zpages 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
Fields in io.opencensus.implcore.internal declared as TimestampMethods in io.opencensus.implcore.internal that return TimestampConstructors in io.opencensus.implcore.internal with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.implcore.metrics
Fields in io.opencensus.implcore.metrics declared as TimestampModifier and TypeFieldDescriptionprivate final TimestampDerivedDoubleCumulativeImpl.PointWithFunction.startTimeprivate final TimestampDerivedDoubleCumulativeImpl.startTimeprivate final TimestampDerivedLongCumulativeImpl.PointWithFunction.startTimeprivate final TimestampDerivedLongCumulativeImpl.startTimeprivate final TimestampDoubleCumulativeImpl.PointImpl.startTimeprivate final TimestampDoubleCumulativeImpl.startTimeprivate final TimestampLongCumulativeImpl.PointImpl.startTimeprivate final TimestampLongCumulativeImpl.startTimeConstructors in io.opencensus.implcore.metrics with parameters of type TimestampModifierConstructorDescription(package private)DerivedDoubleCumulativeImpl(String name, String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels, Timestamp startTime) (package private)DerivedLongCumulativeImpl(String name, String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels, Timestamp startTime) (package private)DoubleCumulativeImpl(String name, String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels, Timestamp startTime) (package private)LongCumulativeImpl(String name, String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels, Timestamp startTime) (package private)PointImpl(List<LabelValue> labelValues, Timestamp startTime) (package private)PointImpl(List<LabelValue> labelValues, Timestamp startTime) (package private)PointWithFunction(List<LabelValue> labelValues, T obj, ToDoubleFunction<T> function, Timestamp startTime) (package private)PointWithFunction(List<LabelValue> labelValues, T obj, ToLongFunction<T> function, Timestamp startTime) -
Uses of Timestamp in io.opencensus.implcore.stats
Fields in io.opencensus.implcore.stats declared as TimestampModifier and TypeFieldDescriptionprivate final TimestampIntervalBucket.startprivate final TimestampMutableViewData.CreateCumulative.startprivate final TimestampMutableViewData.CreateInterval.startprivate TimestampMutableViewData.CumulativeMutableViewData.start(package private) static final TimestampMutableViewData.ZERO_TIMESTAMPMethods in io.opencensus.implcore.stats that return TimestampModifier and TypeMethodDescription(package private) TimestampIntervalBucket.getStart()private static TimestampMutableViewData.IntervalMutableViewData.subtractDuration(Timestamp timestamp, Duration duration) Methods in io.opencensus.implcore.stats with parameters of type TimestampModifier and TypeMethodDescription(package private) abstract voidMutableAggregation.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) Put a new value into the MutableAggregation.(package private) voidMutableAggregation.MutableCount.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) (package private) voidMutableAggregation.MutableDistribution.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) (package private) voidMutableAggregation.MutableLastValueDouble.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) (package private) voidMutableAggregation.MutableMean.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) (package private) voidMutableAggregation.MutableSumDouble.add(double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) private Map<List<TagValue>, AggregationData> MutableViewData.IntervalMutableViewData.combineBucketsAndGetAggregationMap(Timestamp now) (package private) static MutableViewDataConstructs a newMutableViewData.(package private) doubleIntervalBucket.getFraction(Timestamp now) private voidMutableViewData.CumulativeMutableViewData.handleTimeRewinds(Timestamp now) This method attemps to migrate this view into a reasonable state in the event of time going backwards.private static voidMutableViewData.IntervalMutableViewData.putBucketsIntoMultiMap(ArrayDeque<IntervalBucket> buckets, com.google.common.collect.Multimap<List<TagValue>, MutableAggregation> multimap, Aggregation aggregation, Measure measure, Timestamp now) (package private) voidIntervalBucket.record(List<TagValue> tagValues, double value, Map<String, AttachmentValue> attachments, Timestamp timestamp) (package private) voidMeasureToViewMap.record(TagContext tags, MeasureMapInternal stats, Timestamp timestamp) (package private) voidMutableViewData.CumulativeMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) voidMutableViewData.IntervalMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) abstract voidMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Record stats with the given tags.private voidMutableViewData.IntervalMutableViewData.refreshBucketList(Timestamp now) (package private) voidMeasureToViewMap.resumeStatsCollection(Timestamp now) (package private) voidMutableViewData.CumulativeMutableViewData.resumeStatsCollection(Timestamp now) (package private) voidMutableViewData.IntervalMutableViewData.resumeStatsCollection(Timestamp now) (package private) abstract voidMutableViewData.resumeStatsCollection(Timestamp now) private voidMutableViewData.IntervalMutableViewData.shiftBucketList(long numOfPadBuckets, Timestamp now) private static TimestampMutableViewData.IntervalMutableViewData.subtractDuration(Timestamp timestamp, Duration duration) (package private) MetricMutableViewData.CumulativeMutableViewData.toMetric(Timestamp now, CurrentState.State state) (package private) MetricMutableViewData.IntervalMutableViewData.toMetric(Timestamp now, CurrentState.State state) (package private) abstract MetricMutableViewData.toMetric(Timestamp now, CurrentState.State state) (package private) Point(package private) Point(package private) Point(package private) Point(package private) Point(package private) Point(package private) Point(package private) abstract Point(package private) ViewDataMutableViewData.CumulativeMutableViewData.toViewData(Timestamp now, CurrentState.State state) (package private) ViewDataMutableViewData.IntervalMutableViewData.toViewData(Timestamp now, CurrentState.State state) (package private) abstract ViewDataMutableViewData.toViewData(Timestamp now, CurrentState.State state) Convert thisMutableViewDatatoViewData.Constructors in io.opencensus.implcore.stats with parameters of type TimestampModifierConstructorDescriptionprivateCreateCumulative(View view, Timestamp start) privateCreateInterval(View view, Timestamp start) privateCumulativeMutableViewData(View view, Timestamp start) (package private)IntervalBucket(Timestamp start, Duration duration, Aggregation aggregation, Measure measure) privateIntervalMutableViewData(View view, Timestamp start) -
Uses of Timestamp in io.opencensus.internal
Fields in io.opencensus.internal declared as TimestampMethods in io.opencensus.internal that return Timestamp -
Uses of Timestamp in io.opencensus.metrics.data
Fields in io.opencensus.metrics.data declared as TimestampMethods in io.opencensus.metrics.data that return TimestampModifier and TypeMethodDescriptionAutoValue_Exemplar.getTimestamp()abstract TimestampExemplar.getTimestamp()Returns the time that thisExemplar's value was recorded.Methods in io.opencensus.metrics.data with parameters of type TimestampModifier and TypeMethodDescriptionstatic ExemplarExemplar.create(double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Creates anExemplar.Constructors in io.opencensus.metrics.data with parameters of type TimestampModifierConstructorDescription(package private)AutoValue_Exemplar(double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) -
Uses of Timestamp in io.opencensus.metrics.export
Fields in io.opencensus.metrics.export declared as TimestampModifier and TypeFieldDescriptionprivate final TimestampAutoValue_TimeSeries.startTimestampprivate final TimestampAutoValue_Point.timestampMethods in io.opencensus.metrics.export that return TimestampModifier and TypeMethodDescriptionAutoValue_TimeSeries.getStartTimestamp()abstract TimestampTimeSeries.getStartTimestamp()Returns the startTimestampof thisTimeSeriesif thePoints are cumulative, ornullif thePoints are gauge.AutoValue_Point.getTimestamp()abstract TimestampPoint.getTimestamp()Methods in io.opencensus.metrics.export with parameters of type TimestampModifier and TypeMethodDescriptionstatic PointCreates aPoint.static TimeSeriesCreates aTimeSeries.private static TimeSeriesTimeSeries.createInternal(List<LabelValue> labelValues, List<Point> points, Timestamp startTimestamp) Creates aTimeSeries.static TimeSeriesTimeSeries.createWithOnePoint(List<LabelValue> labelValues, Point point, Timestamp startTimestamp) Creates aTimeSeries.Constructors in io.opencensus.metrics.export with parameters of type TimestampModifierConstructorDescription(package private)AutoValue_Point(Value value, Timestamp timestamp) (package private)AutoValue_TimeSeries(List<LabelValue> labelValues, List<Point> points, Timestamp startTimestamp) -
Uses of Timestamp in io.opencensus.stats
Fields in io.opencensus.stats declared as TimestampModifier and TypeFieldDescriptionprivate final TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData.endDeprecated.private final TimestampAutoValue_ViewData_AggregationWindowData_IntervalData.endDeprecated.private final TimestampAutoValue_ViewData.endprivate final TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData.startDeprecated.private final TimestampAutoValue_ViewData.startprivate static final TimestampNoopStats.NoopViewManager.ZERO_TIMESTAMPMethods in io.opencensus.stats that return TimestampModifier and TypeMethodDescriptionAutoValue_ViewData_AggregationWindowData_CumulativeData.getEnd()Deprecated.AutoValue_ViewData_AggregationWindowData_IntervalData.getEnd()Deprecated.AutoValue_ViewData.getEnd()abstract 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.AutoValue_ViewData_AggregationWindowData_CumulativeData.getStart()Deprecated.AutoValue_ViewData.getStart()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.private static ViewDataViewData.createInternal(View view, Map<List<TagValue>, AggregationData> aggregationMap, ViewData.AggregationWindowData window, Timestamp start, Timestamp end) Constructors in io.opencensus.stats with parameters of type TimestampModifierConstructorDescription(package private)AutoValue_ViewData(View view, Map<List<TagValue>, AggregationData> aggregationMap, ViewData.AggregationWindowData windowData, Timestamp start, Timestamp end) (package private)Deprecated.(package private)Deprecated. -
Uses of Timestamp in io.opencensus.testing.common
Fields in io.opencensus.testing.common declared as TimestampMethods in io.opencensus.testing.common that return TimestampModifier and TypeMethodDescriptionTestClock.now()private static TimestampTestClock.validateNanos(Timestamp time) Methods in io.opencensus.testing.common with parameters of type Timestamp -
Uses of Timestamp in io.opencensus.trace
Fields in io.opencensus.trace declared as TimestampModifier and TypeFieldDescriptionprivate TimestampAutoValue_NetworkEvent.Builder.kernelTimestampprivate final TimestampAutoValue_NetworkEvent.kernelTimestampDeprecated.Methods in io.opencensus.trace that return TimestampModifier and TypeMethodDescriptionAutoValue_NetworkEvent.getKernelTimestamp()Deprecated.abstract TimestampNetworkEvent.getKernelTimestamp()Deprecated.Returns the kernel timestamp associated with theNetworkEventornullif not set.Methods in io.opencensus.trace with parameters of type TimestampModifier and TypeMethodDescriptionAutoValue_NetworkEvent.Builder.setKernelTimestamp(Timestamp kernelTimestamp) abstract NetworkEvent.BuilderNetworkEvent.Builder.setKernelTimestamp(Timestamp kernelTimestamp) Deprecated.Sets the kernel timestamp.Constructors in io.opencensus.trace with parameters of type TimestampModifierConstructorDescriptionprivateAutoValue_NetworkEvent(Timestamp kernelTimestamp, NetworkEvent.Type type, long messageId, long uncompressedMessageSize, long compressedMessageSize) Deprecated. -
Uses of Timestamp in io.opencensus.trace.export
Fields in io.opencensus.trace.export declared as TimestampModifier and TypeFieldDescriptionprivate final TimestampAutoValue_SpanData.endTimestampprivate final TimestampAutoValue_SpanData.startTimestampprivate final TimestampAutoValue_SpanData_TimedEvent.timestampMethods in io.opencensus.trace.export that return TimestampModifier and TypeMethodDescriptionAutoValue_SpanData.getEndTimestamp()abstract TimestampSpanData.getEndTimestamp()Returns the endTimestampornullif theSpanis still active.AutoValue_SpanData.getStartTimestamp()abstract TimestampSpanData.getStartTimestamp()Returns the startTimestampof thisSpan.AutoValue_SpanData_TimedEvent.getTimestamp()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>.Constructors in io.opencensus.trace.export with parameters of type TimestampModifierConstructorDescription(package private)AutoValue_SpanData(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) (package private)AutoValue_SpanData_TimedEvent(Timestamp timestamp, T event)
SpanData.create(SpanContext, SpanId, Boolean, String, Kind, Timestamp, Attributes, TimedEvents, TimedEvents, Links, Integer, Status, Timestamp).