Package io.opencensus.common
package io.opencensus.common
Common API between different packages in this artifact.
-
ClassDescriptionInterface for getting the current time.Represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.Function<A,
B> Used to specify matching functions for use encoding tagged unions (i.e.Commonly usedFunction
instances.Annotates a program element (class, method, package etc) which is internal to OpenCensus, not part of the public API, and should not be used by users of the OpenCensus library.Deprecated.Class holder for all common constants (such as the version) for the OpenCensus Java library.ACloseable
that represents a change to the current context over a scope of code.A representation of stats measured on the server side.Exception thrown when aServerStats
cannot be parsed.A service class to encode/decodeServerStats
as defined by the spec.A Enum representation for Ids and Size for attributes ofServerStats
.Available Ids forServerStats
attributes.Size for each attributes inServerStats
.A representation of an instant in time.Represents a function that produces a double-valued result.Represents a function that produces a long-valued result.
Scope
is a better match for operations involving the current context.