Uses of Class
io.opencensus.common.Timestamp
-
Packages that use Timestamp Package Description io.opencensus.common Common API between different packages in this artifact.io.opencensus.contrib.zpages io.opencensus.implcore.common io.opencensus.implcore.internal io.opencensus.implcore.metrics io.opencensus.implcore.stats io.opencensus.internal Interfaces and implementations that are internal to OpenCensus.io.opencensus.metrics.data This package describes common data models in Metrics that are shared across multiple packages.io.opencensus.metrics.export io.opencensus.stats API for stats recording.io.opencensus.testing.common io.opencensus.trace API for distributed tracing.io.opencensus.trace.export -
-
Uses of Timestamp in io.opencensus.common
Subclasses of Timestamp in io.opencensus.common Modifier and Type Class Description (package private) classAutoValue_TimestampMethods in io.opencensus.common that return Timestamp Modifier and Type Method Description TimestampTimestamp. addDuration(Duration duration)Returns aTimestampcalculated as thisTimestampplus someDuration.TimestampTimestamp. 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 Modifier and Type Method Description intTimestamp. compareTo(Timestamp otherTimestamp)Compares thisTimestampto the specifiedTimestamp.DurationTimestamp. subtractTimestamp(Timestamp timestamp)Returns aDurationcalculated as:this - timestamp. -
Uses of Timestamp in io.opencensus.contrib.zpages
Methods in io.opencensus.contrib.zpages with parameters of type Timestamp Modifier and Type Method Description private static java.util.DateStatszZPageHandler. toDate(Timestamp timestamp) -
Uses of Timestamp in io.opencensus.implcore.common
Methods in io.opencensus.implcore.common that return Timestamp Modifier and Type Method Description TimestampMillisClock. now() -
Uses of Timestamp in io.opencensus.implcore.internal
Fields in io.opencensus.implcore.internal declared as Timestamp Modifier and Type Field Description private TimestampTimestampConverter. timestampMethods in io.opencensus.implcore.internal that return Timestamp Modifier and Type Method Description TimestampTimestampConverter. convertNanoTime(long nanoTime)Converts ananoTimevalue toTimestamp.Constructors in io.opencensus.implcore.internal with parameters of type Timestamp Constructor Description TimestampConverter(Timestamp timestamp, long nanoTime) -
Uses of Timestamp in io.opencensus.implcore.metrics
Fields in io.opencensus.implcore.metrics declared as Timestamp Modifier and Type Field Description private TimestampDerivedDoubleCumulativeImpl.PointWithFunction. startTimeprivate TimestampDerivedDoubleCumulativeImpl. startTimeprivate TimestampDerivedLongCumulativeImpl.PointWithFunction. startTimeprivate TimestampDerivedLongCumulativeImpl. startTimeprivate TimestampDoubleCumulativeImpl.PointImpl. startTimeprivate TimestampDoubleCumulativeImpl. startTimeprivate TimestampLongCumulativeImpl.PointImpl. startTimeprivate TimestampLongCumulativeImpl. startTimeConstructors in io.opencensus.implcore.metrics with parameters of type Timestamp Constructor Description DerivedDoubleCumulativeImpl(java.lang.String name, java.lang.String description, java.lang.String unit, java.util.List<LabelKey> labelKeys, java.util.Map<LabelKey,LabelValue> constantLabels, Timestamp startTime)DerivedLongCumulativeImpl(java.lang.String name, java.lang.String description, java.lang.String unit, java.util.List<LabelKey> labelKeys, java.util.Map<LabelKey,LabelValue> constantLabels, Timestamp startTime)DoubleCumulativeImpl(java.lang.String name, java.lang.String description, java.lang.String unit, java.util.List<LabelKey> labelKeys, java.util.Map<LabelKey,LabelValue> constantLabels, Timestamp startTime)LongCumulativeImpl(java.lang.String name, java.lang.String description, java.lang.String unit, java.util.List<LabelKey> labelKeys, java.util.Map<LabelKey,LabelValue> constantLabels, Timestamp startTime)PointImpl(java.util.List<LabelValue> labelValues, Timestamp startTime)PointImpl(java.util.List<LabelValue> labelValues, Timestamp startTime)PointWithFunction(java.util.List<LabelValue> labelValues, T obj, ToDoubleFunction<T> function, Timestamp startTime)PointWithFunction(java.util.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 Timestamp Modifier and Type Field Description private TimestampIntervalBucket. startprivate TimestampMutableViewData.CreateCumulative. startprivate TimestampMutableViewData.CreateInterval. startprivate TimestampMutableViewData.CumulativeMutableViewData. start(package private) static TimestampMutableViewData. ZERO_TIMESTAMPMethods in io.opencensus.implcore.stats that return Timestamp Modifier and Type Method Description (package private) TimestampIntervalBucket. getStart()private static TimestampMutableViewData.IntervalMutableViewData. subtractDuration(Timestamp timestamp, Duration duration)Methods in io.opencensus.implcore.stats with parameters of type Timestamp Modifier and Type Method Description (package private) abstract voidMutableAggregation. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)Put a new value into the MutableAggregation.(package private) voidMutableAggregation.MutableCount. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)(package private) voidMutableAggregation.MutableDistribution. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)(package private) voidMutableAggregation.MutableLastValueDouble. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)(package private) voidMutableAggregation.MutableMean. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)(package private) voidMutableAggregation.MutableSumDouble. add(double value, java.util.Map<java.lang.String,AttachmentValue> attachments, Timestamp timestamp)private java.util.Map<java.util.List<TagValue>,AggregationData>MutableViewData.IntervalMutableViewData. combineBucketsAndGetAggregationMap(Timestamp now)(package private) static MutableViewDataMutableViewData. create(View view, Timestamp start)Constructs 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(java.util.ArrayDeque<IntervalBucket> buckets, com.google.common.collect.Multimap<java.util.List<TagValue>,MutableAggregation> multimap, Aggregation aggregation, Measure measure, Timestamp now)(package private) voidIntervalBucket. record(java.util.List<TagValue> tagValues, double value, java.util.Map<java.lang.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, java.util.Map<java.lang.String,AttachmentValue> attachments)(package private) voidMutableViewData.IntervalMutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)(package private) abstract voidMutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.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) PointMutableAggregation.MutableCount. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableDistribution. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableLastValueDouble. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableLastValueLong. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableMean. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableSumDouble. toPoint(Timestamp timestamp)(package private) PointMutableAggregation.MutableSumLong. toPoint(Timestamp timestamp)(package private) abstract PointMutableAggregation. toPoint(Timestamp timestamp)(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 Timestamp Constructor Description CreateCumulative(View view, Timestamp start)CreateInterval(View view, Timestamp start)CumulativeMutableViewData(View view, Timestamp start)IntervalBucket(Timestamp start, Duration duration, Aggregation aggregation, Measure measure)IntervalMutableViewData(View view, Timestamp start) -
Uses of Timestamp in io.opencensus.internal
Fields in io.opencensus.internal declared as Timestamp Modifier and Type Field Description private static TimestampZeroTimeClock. ZERO_TIMESTAMPMethods in io.opencensus.internal that return Timestamp Modifier and Type Method Description TimestampZeroTimeClock. now() -
Uses of Timestamp in io.opencensus.metrics.data
Fields in io.opencensus.metrics.data declared as Timestamp Modifier and Type Field Description private TimestampAutoValue_Exemplar. timestampMethods in io.opencensus.metrics.data that return Timestamp Modifier and Type Method Description TimestampAutoValue_Exemplar. getTimestamp()abstract TimestampExemplar. getTimestamp()Returns the time that thisExemplar's value was recorded.Methods in io.opencensus.metrics.data with parameters of type Timestamp Modifier and Type Method Description static ExemplarExemplar. create(double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)Creates anExemplar.Constructors in io.opencensus.metrics.data with parameters of type Timestamp Constructor Description AutoValue_Exemplar(double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments) -
Uses of Timestamp in io.opencensus.metrics.export
Fields in io.opencensus.metrics.export declared as Timestamp Modifier and Type Field Description private TimestampAutoValue_TimeSeries. startTimestampprivate TimestampAutoValue_Point. timestampMethods in io.opencensus.metrics.export that return Timestamp Modifier and Type Method Description TimestampAutoValue_TimeSeries. getStartTimestamp()abstract TimestampTimeSeries. getStartTimestamp()Returns the startTimestampof thisTimeSeriesif thePoints are cumulative, ornullif thePoints are gauge.TimestampAutoValue_Point. getTimestamp()abstract TimestampPoint. getTimestamp()Methods in io.opencensus.metrics.export with parameters of type Timestamp Modifier and Type Method Description static PointPoint. create(Value value, Timestamp timestamp)Creates aPoint.static TimeSeriesTimeSeries. create(java.util.List<LabelValue> labelValues, java.util.List<Point> points, Timestamp startTimestamp)Creates aTimeSeries.private static TimeSeriesTimeSeries. createInternal(java.util.List<LabelValue> labelValues, java.util.List<Point> points, Timestamp startTimestamp)Creates aTimeSeries.static TimeSeriesTimeSeries. createWithOnePoint(java.util.List<LabelValue> labelValues, Point point, Timestamp startTimestamp)Creates aTimeSeries.Constructors in io.opencensus.metrics.export with parameters of type Timestamp Constructor Description AutoValue_Point(Value value, Timestamp timestamp)AutoValue_TimeSeries(java.util.List<LabelValue> labelValues, java.util.List<Point> points, Timestamp startTimestamp) -
Uses of Timestamp in io.opencensus.stats
Fields in io.opencensus.stats declared as Timestamp Modifier and Type Field Description private TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData. endDeprecated.private TimestampAutoValue_ViewData_AggregationWindowData_IntervalData. endDeprecated.private TimestampAutoValue_ViewData. endprivate TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData. startDeprecated.private TimestampAutoValue_ViewData. startprivate static TimestampNoopStats.NoopViewManager. ZERO_TIMESTAMPMethods in io.opencensus.stats that return Timestamp Modifier and Type Method Description TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData. getEnd()Deprecated.TimestampAutoValue_ViewData_AggregationWindowData_IntervalData. getEnd()Deprecated.TimestampAutoValue_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.TimestampAutoValue_ViewData_AggregationWindowData_CumulativeData. getStart()Deprecated.TimestampAutoValue_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 Timestamp Modifier and Type Method Description static ViewData.AggregationWindowData.CumulativeDataViewData.AggregationWindowData.CumulativeData. create(Timestamp start, Timestamp end)Deprecated.Constructs a newViewData.AggregationWindowData.CumulativeData.static ViewData.AggregationWindowData.IntervalDataViewData.AggregationWindowData.IntervalData. create(Timestamp end)Deprecated.Constructs a newViewData.AggregationWindowData.IntervalData.static ViewDataViewData. create(View view, java.util.Map<? extends java.util.List<TagValue>,? extends AggregationData> map, Timestamp start, Timestamp end)Constructs a newViewData.private static ViewDataViewData. createInternal(View view, java.util.Map<java.util.List<TagValue>,AggregationData> aggregationMap, ViewData.AggregationWindowData window, Timestamp start, Timestamp end)Constructors in io.opencensus.stats with parameters of type Timestamp Constructor Description AutoValue_ViewData(View view, java.util.Map<java.util.List<TagValue>,AggregationData> aggregationMap, ViewData.AggregationWindowData windowData, Timestamp start, Timestamp end)AutoValue_ViewData_AggregationWindowData_CumulativeData(Timestamp start, Timestamp end)Deprecated.AutoValue_ViewData_AggregationWindowData_IntervalData(Timestamp end)Deprecated. -
Uses of Timestamp in io.opencensus.testing.common
Fields in io.opencensus.testing.common declared as Timestamp Modifier and Type Field Description private TimestampTestClock. currentTimeMethods in io.opencensus.testing.common that return Timestamp Modifier and Type Method Description TimestampTestClock. now()private static TimestampTestClock. validateNanos(Timestamp time)Methods in io.opencensus.testing.common with parameters of type Timestamp Modifier and Type Method Description static TestClockTestClock. create(Timestamp time)Creates a clock with the given time.private static longTestClock. getNanos(Timestamp time)voidTestClock. setTime(Timestamp time)Sets the time.private static TimestampTestClock. validateNanos(Timestamp time) -
Uses of Timestamp in io.opencensus.trace
Fields in io.opencensus.trace declared as Timestamp Modifier and Type Field Description private TimestampAutoValue_NetworkEvent.Builder. kernelTimestampprivate TimestampAutoValue_NetworkEvent. kernelTimestampDeprecated.Methods in io.opencensus.trace that return Timestamp Modifier and Type Method Description TimestampAutoValue_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 Timestamp Modifier and Type Method Description NetworkEvent.BuilderAutoValue_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 Timestamp Constructor Description AutoValue_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 Timestamp Modifier and Type Field Description private TimestampAutoValue_SpanData. endTimestampprivate TimestampAutoValue_SpanData. startTimestampprivate TimestampAutoValue_SpanData_TimedEvent. timestampMethods in io.opencensus.trace.export that return Timestamp Modifier and Type Method Description TimestampAutoValue_SpanData. getEndTimestamp()abstract TimestampSpanData. getEndTimestamp()Returns the endTimestampornullif theSpanis still active.TimestampAutoValue_SpanData. getStartTimestamp()abstract TimestampSpanData. getStartTimestamp()Returns the startTimestampof thisSpan.TimestampAutoValue_SpanData_TimedEvent. getTimestamp()abstract TimestampSpanData.TimedEvent. getTimestamp()Returns theTimestampof this event.Methods in io.opencensus.trace.export with parameters of type Timestamp Modifier and Type Method Description static SpanDataSpanData. create(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp)static SpanDataSpanData. create(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp)Returns a new immutableSpanData.static <T> SpanData.TimedEvent<T>SpanData.TimedEvent. create(Timestamp timestamp, T event)Returns a new immutableTimedEvent<T>.Constructors in io.opencensus.trace.export with parameters of type Timestamp Constructor Description AutoValue_SpanData(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp)AutoValue_SpanData_TimedEvent(Timestamp timestamp, T event)
-