Package io.opencensus.common
Common API between different packages in this artifact.
-
Interface Summary Interface Description Function<A,B> Used to specify matching functions for use encoding tagged unions (i.e.NonThrowingCloseable Deprecated. Scopeis a better match for operations involving the current context.Scope ACloseablethat represents a change to the current context over a scope of code.ToDoubleFunction<T> Represents a function that produces a double-valued result.ToLongFunction<T> Represents a function that produces a long-valued result. -
Class Summary Class Description AutoValue_Duration AutoValue_ServerStats AutoValue_Timestamp Clock Interface for getting the current time.Duration Represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.Functions Commonly usedFunctioninstances.OpenCensusLibraryInformation Class holder for all common constants (such as the version) for the OpenCensus Java library.ServerStats A representation of stats measured on the server side.ServerStatsEncoding A service class to encode/decodeServerStatsas defined by the spec.ServerStatsFieldEnums A Enum representation for Ids and Size for attributes ofServerStats.Timestamp A representation of an instant in time.TimeUtils -
Enum Summary Enum Description ServerStatsFieldEnums.Id Available Ids forServerStatsattributes.ServerStatsFieldEnums.Size Size for each attributes inServerStats. -
Exception Summary Exception Description ServerStatsDeserializationException Exception thrown when aServerStatscannot be parsed. -
Annotation Types Summary Annotation Type Description ExperimentalApi Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.Internal 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.