A B C D E F G H I M N O P R S T V W 

A

apply(A) - Method in interface com.google.instrumentation.common.Function
 

B

build() - Method in class com.google.instrumentation.stats.MeasurementMap.Builder
Constructs a MeasurementMap from the current measurements.
build() - Method in class com.google.instrumentation.stats.StatsContext.Builder
Builds a StatsContext from the specified keys and values.
builder() - Static method in class com.google.instrumentation.stats.MeasurementMap
Returns a MeasurementMap.Builder for the MeasurementMap class.
builder() - Method in class com.google.instrumentation.stats.StatsContext
Returns a builder based on this StatsContext.

C

com.google.instrumentation.common - package com.google.instrumentation.common
 
com.google.instrumentation.stats - package com.google.instrumentation.stats
 
create(long, int) - Static method in class com.google.instrumentation.common.Duration
Creates a new time duration from given seconds and nanoseconds.
create(long, int) - Static method in class com.google.instrumentation.common.Timestamp
Creates a new timestamp from given seconds and nanoseconds.
create(long, double, double, DistributionAggregation.Range, List<Tag>) - Static method in class com.google.instrumentation.stats.DistributionAggregation
Constructs a new DistributionAggregation.
create(long, double, double, DistributionAggregation.Range, List<Tag>, List<Long>) - Static method in class com.google.instrumentation.stats.DistributionAggregation
Constructs a new DistributionAggregation with the optional bucketCounts.
create(double, double) - Static method in class com.google.instrumentation.stats.DistributionAggregation.Range
create(List<Double>) - Static method in class com.google.instrumentation.stats.DistributionAggregationDescriptor
Constructs a new DistributionAggregationDescriptor with the optional histogram bucket boundaries.
create() - Static method in class com.google.instrumentation.stats.DistributionAggregationDescriptor
Constructs a new DistributionAggregationDescriptor without the optional histogram bucket boundaries.
create(List<Tag>, List<IntervalAggregation.Interval>) - Static method in class com.google.instrumentation.stats.IntervalAggregation
Constructs new IntervalAggregation.
create(Duration, double, double) - Static method in class com.google.instrumentation.stats.IntervalAggregation.Interval
create(int, List<Duration>) - Static method in class com.google.instrumentation.stats.IntervalAggregationDescriptor
create(List<Duration>) - Static method in class com.google.instrumentation.stats.IntervalAggregationDescriptor
Constructs a new IntervalAggregationDescriptor with the number of sub intervals set to the default value of 5.
create(String, String, MeasurementDescriptor.MeasurementUnit) - Static method in class com.google.instrumentation.stats.MeasurementDescriptor
Constructs a new MeasurementDescriptor.
create(int, List<MeasurementDescriptor.BasicUnit>, List<MeasurementDescriptor.BasicUnit>) - Static method in class com.google.instrumentation.stats.MeasurementDescriptor.MeasurementUnit
create(int, List<MeasurementDescriptor.BasicUnit>) - Static method in class com.google.instrumentation.stats.MeasurementDescriptor.MeasurementUnit
Constructs a MeasurementDescriptor.MeasurementUnit without the optional denominators.
create(MeasurementDescriptor, double) - Static method in class com.google.instrumentation.stats.MeasurementValue
Constructs a measured value.
create(TagKey, TagValue) - Static method in class com.google.instrumentation.stats.Tag
Constructs a new Tag from the given key and value.
create(String) - Static method in class com.google.instrumentation.stats.TagKey
Constructs a new TagKey from the given string.
create(String) - Static method in class com.google.instrumentation.stats.TagValue
Constructs a new TagValue from the given string.
create(ViewDescriptor.DistributionViewDescriptor, List<DistributionAggregation>, Timestamp, Timestamp) - Static method in class com.google.instrumentation.stats.View.DistributionView
Constructs a new View.DistributionView.
create(ViewDescriptor.IntervalViewDescriptor, List<IntervalAggregation>) - Static method in class com.google.instrumentation.stats.View.IntervalView
Constructs a new View.IntervalView.
create(String, String, MeasurementDescriptor, DistributionAggregationDescriptor, List<TagKey>) - Static method in class com.google.instrumentation.stats.ViewDescriptor.DistributionViewDescriptor
create(String, String, MeasurementDescriptor, IntervalAggregationDescriptor, List<TagKey>) - Static method in class com.google.instrumentation.stats.ViewDescriptor.IntervalViewDescriptor

D

deserialize(InputStream) - Method in class com.google.instrumentation.stats.StatsContextFactory
Creates a StatsContext from the given on-the-wire encoded representation.
DistributionAggregation - Class in com.google.instrumentation.stats
An aggregation of data based on distributions.
DistributionAggregation.Range - Class in com.google.instrumentation.stats
Describes a range of population values.
DistributionAggregationDescriptor - Class in com.google.instrumentation.stats
Describes data aggregations based on distributions.
Duration - Class in com.google.instrumentation.common
Represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.

E

equals(Object) - Method in class com.google.instrumentation.common.Duration
 
equals(Object) - Method in class com.google.instrumentation.common.Timestamp
 
equals(Object) - Method in class com.google.instrumentation.stats.TagKey
 
equals(Object) - Method in class com.google.instrumentation.stats.TagValue
 

F

fromMillis(long) - Static method in class com.google.instrumentation.common.Duration
Creates a new Duration from given milliseconds.
fromMillis(long) - Static method in class com.google.instrumentation.common.Timestamp
Creates a new timestamp from given milliseconds.
Function<A,B> - Interface in com.google.instrumentation.common
Used to specify matching functions for use encoding tagged unions (i.e.

G

getBucketBoundaries() - Method in class com.google.instrumentation.stats.DistributionAggregationDescriptor
The optional histogram bucket boundaries for a distribution.
getBucketCounts() - Method in class com.google.instrumentation.stats.DistributionAggregation
A Distribution may optionally contain a histogram of the values in the population.
getCount() - Method in class com.google.instrumentation.stats.DistributionAggregation
The number of values in the population.
getCount() - Method in class com.google.instrumentation.stats.IntervalAggregation.Interval
The number of measurements in this interval.
getDefault() - Method in class com.google.instrumentation.stats.StatsContextFactory
Returns the default StatsContext.
getDenominators() - Method in class com.google.instrumentation.stats.MeasurementDescriptor.MeasurementUnit
Unit Denominators.
getDescription() - Method in class com.google.instrumentation.stats.MeasurementDescriptor
Detailed description of the measurement, used in documentation.
getDescription() - Method in class com.google.instrumentation.stats.ViewDescriptor
More detailed description, for documentation purposes.
getDistributionAggregationDescriptor() - Method in class com.google.instrumentation.stats.ViewDescriptor.DistributionViewDescriptor
getDistributionAggregations() - Method in class com.google.instrumentation.stats.View.DistributionView
getIntervalAggregationDescriptor() - Method in class com.google.instrumentation.stats.ViewDescriptor.IntervalViewDescriptor
getIntervalAggregations() - Method in class com.google.instrumentation.stats.View.IntervalView
The IntervalAggregations associated with this View.IntervalView.
getIntervals() - Method in class com.google.instrumentation.stats.IntervalAggregation
Sequence of intervals for this aggregation.
getIntervalSize() - Method in class com.google.instrumentation.stats.IntervalAggregation.Interval
The interval duration.
getIntervalSizes() - Method in class com.google.instrumentation.stats.IntervalAggregationDescriptor
The time intervals to record for the aggregation.
getKey() - Method in class com.google.instrumentation.stats.Tag
Returns the associated tag key.
getMax() - Method in class com.google.instrumentation.stats.DistributionAggregation.Range
The maximum of the population values.
getMean() - Method in class com.google.instrumentation.stats.DistributionAggregation
The arithmetic mean of the values in the population.
getMeasurement() - Method in class com.google.instrumentation.stats.MeasurementValue
Extracts the measured MeasurementDescriptor.
getMeasurementDescriptor() - Method in class com.google.instrumentation.stats.ViewDescriptor
Measurement type of this view.
getMin() - Method in class com.google.instrumentation.stats.DistributionAggregation.Range
The minimum of the population values.
getName() - Method in class com.google.instrumentation.stats.MeasurementDescriptor
Name of measurement, e.g.
getName() - Method in class com.google.instrumentation.stats.ViewDescriptor
Name of view.
getNanos() - Method in class com.google.instrumentation.common.Duration
Returns the number of nanoseconds in the Duration.
getNanos() - Method in class com.google.instrumentation.common.Timestamp
Returns the number of nanoseconds after the number of seconds since the Unix Epoch represented by this timestamp.
getNumerators() - Method in class com.google.instrumentation.stats.MeasurementDescriptor.MeasurementUnit
Unit Numerators.
getNumSubIntervals() - Method in class com.google.instrumentation.stats.IntervalAggregationDescriptor
The number of sub intervals.
getPower10() - Method in class com.google.instrumentation.stats.MeasurementDescriptor.MeasurementUnit
Unit multiplier (i.e.
getRange() - Method in class com.google.instrumentation.stats.DistributionAggregation
The range of the population values.
getSeconds() - Method in class com.google.instrumentation.common.Duration
Returns the number of seconds in the Duration.
getSeconds() - Method in class com.google.instrumentation.common.Timestamp
Returns the number of seconds since the Unix Epoch represented by this timestamp.
getStatsContextFactory() - Static method in class com.google.instrumentation.stats.Stats
Returns the default StatsContextFactory.
getStatsManager() - Static method in class com.google.instrumentation.stats.Stats
Returns the default StatsManager.
getSum() - Method in class com.google.instrumentation.stats.DistributionAggregation
The sum of the values in the population.
getSum() - Method in class com.google.instrumentation.stats.IntervalAggregation.Interval
The cumulative sum of measurements in this interval.
getTagKeys() - Method in class com.google.instrumentation.stats.ViewDescriptor
Tag keys to match with the associated MeasurementDescriptor.
getTags() - Method in class com.google.instrumentation.stats.DistributionAggregation
Tags associated with this DistributionAggregation.
getTags() - Method in class com.google.instrumentation.stats.IntervalAggregation
Tags associated with this aggregation.
getUnit() - Method in class com.google.instrumentation.stats.MeasurementDescriptor
The units in which MeasurementDescriptor values are measured.
getValue() - Method in class com.google.instrumentation.stats.MeasurementValue
Extracts the associated value.
getValue() - Method in class com.google.instrumentation.stats.Tag
Returns the associated tag key.
getView(ViewDescriptor) - Method in class com.google.instrumentation.stats.StatsManager
Returns the current stats data, View, associated with the given ViewDescriptor.
getViewDescriptor() - Method in class com.google.instrumentation.stats.View.DistributionView
 
getViewDescriptor() - Method in class com.google.instrumentation.stats.View
The ViewDescriptor associated with this View.
getViewDescriptor() - Method in class com.google.instrumentation.stats.View.IntervalView
 

H

hashCode() - Method in class com.google.instrumentation.common.Duration
 
hashCode() - Method in class com.google.instrumentation.common.Timestamp
 
hashCode() - Method in class com.google.instrumentation.stats.TagKey
 
hashCode() - Method in class com.google.instrumentation.stats.TagValue
 

I

IntervalAggregation - Class in com.google.instrumentation.stats
Contains summary stats over various time intervals.
IntervalAggregation.Interval - Class in com.google.instrumentation.stats
Summary statistic over a single time interval.
IntervalAggregationDescriptor - Class in com.google.instrumentation.stats
Describes data aggregations based on time intervals.
iterator() - Method in class com.google.instrumentation.stats.MeasurementMap
Returns an Iterator over the measurement/value mappings in this MeasurementMap.

M

match(Function<View.DistributionView, T>, Function<View.IntervalView, T>) - Method in class com.google.instrumentation.stats.View.DistributionView
 
match(Function<View.DistributionView, T>, Function<View.IntervalView, T>) - Method in class com.google.instrumentation.stats.View.IntervalView
 
match(Function<View.DistributionView, T>, Function<View.IntervalView, T>) - Method in class com.google.instrumentation.stats.View
Applies the given match function to the underlying data type.
match(Function<ViewDescriptor.DistributionViewDescriptor, T>, Function<ViewDescriptor.IntervalViewDescriptor, T>) - Method in class com.google.instrumentation.stats.ViewDescriptor.DistributionViewDescriptor
 
match(Function<ViewDescriptor.DistributionViewDescriptor, T>, Function<ViewDescriptor.IntervalViewDescriptor, T>) - Method in class com.google.instrumentation.stats.ViewDescriptor.IntervalViewDescriptor
 
match(Function<ViewDescriptor.DistributionViewDescriptor, T>, Function<ViewDescriptor.IntervalViewDescriptor, T>) - Method in class com.google.instrumentation.stats.ViewDescriptor
Applies the given match function to the underlying data type.
MAX_LENGTH - Static variable in class com.google.instrumentation.stats.MeasurementDescriptor
 
MAX_LENGTH - Static variable in class com.google.instrumentation.stats.TagKey
 
MAX_LENGTH - Static variable in class com.google.instrumentation.stats.TagValue
 
MeasurementDescriptor - Class in com.google.instrumentation.stats
MeasurementDescriptor.
MeasurementDescriptor.BasicUnit - Enum in com.google.instrumentation.stats
Fundamental units of measurement.
MeasurementDescriptor.MeasurementUnit - Class in com.google.instrumentation.stats
MeasurementUnit lets you build compound units of the form 10^n * (A * B * ...) / (X * Y * ...), where the elements in the numerator and denominator are all BasicUnits.
MeasurementMap - Class in com.google.instrumentation.stats
A map from MeasurementDescriptor's to measured values.
MeasurementMap.Builder - Class in com.google.instrumentation.stats
Builder for the MeasurementMap class.
MeasurementValue - Class in com.google.instrumentation.stats
Immutable representation of a MeasurementValue.

N

newInstance(String, T) - Static method in class com.google.instrumentation.common.Provider
Returns a new instance of the class specified with name by invoking the empty-argument constructor via reflections.

O

of(MeasurementDescriptor, double) - Static method in class com.google.instrumentation.stats.MeasurementMap
Constructs a MeasurementMap from the given MeasurementDescriptor and associated value.
of(MeasurementDescriptor, double, MeasurementDescriptor, double) - Static method in class com.google.instrumentation.stats.MeasurementMap
Constructs a MeasurementMap from the given MeasurementDescriptor's and associated values.
of(MeasurementDescriptor, double, MeasurementDescriptor, double, MeasurementDescriptor, double) - Static method in class com.google.instrumentation.stats.MeasurementMap
Constructs a MeasurementMap from the given MeasurementDescriptor's and associated values.

P

Provider - Class in com.google.instrumentation.common
Instrumentation specific service provider mechanism.
Provider() - Constructor for class com.google.instrumentation.common.Provider
 
put(MeasurementDescriptor, double) - Method in class com.google.instrumentation.stats.MeasurementMap.Builder
Associates the MeasurementDescriptor with the given value.

R

record(MeasurementMap) - Method in class com.google.instrumentation.stats.StatsContext
Records the given measurements against this StatsContext.
registerView(ViewDescriptor) - Method in class com.google.instrumentation.stats.StatsManager
Pull model for stats.
RPC_CLIENT_ERROR_COUNT - Static variable in class com.google.instrumentation.stats.RpcConstants
Census defined rpc client MeasurementDescriptors.
RPC_CLIENT_ERROR_COUNT_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
Census defined rpc client ViewDescriptors.
RPC_CLIENT_METHOD - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_REQUEST_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_REQUEST_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_RESPONSE_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_RESPONSE_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_ROUNDTRIP_LATENCY - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_SERVER_ELAPSED_TIME - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_SERVER_ELAPSED_TIME_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_ERROR_COUNT - Static variable in class com.google.instrumentation.stats.RpcConstants
Census defined rpc server MeasurementDescriptors.
RPC_SERVER_ERROR_COUNT_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
Census defined rpc server ViewDescriptors.
RPC_SERVER_METHOD - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_REQUEST_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_REQUEST_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_RESPONSE_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_RESPONSE_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_SERVER_ELAPSED_TIME - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_SERVER_ELAPSED_TIME_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_SERVER_LATENCY - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_SERVER_LATENCY_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_VIEW - Static variable in class com.google.instrumentation.stats.RpcConstants
 
RPC_STATUS - Static variable in class com.google.instrumentation.stats.RpcConstants
Rpc tag keys.
RpcConstants - Class in com.google.instrumentation.stats
Constants for collecting rpc stats.

S

serialize(OutputStream) - Method in class com.google.instrumentation.stats.StatsContext
Serializes the StatsContext into the on-the-wire representation.
set(TagKey, TagValue) - Method in class com.google.instrumentation.stats.StatsContext.Builder
Associates the given tag key with the given tag value.
size() - Method in class com.google.instrumentation.stats.MeasurementMap
Returns the number of measurements in this MeasurementMap.
Stats - Class in com.google.instrumentation.stats
StatsContext - Class in com.google.instrumentation.stats
An immutable context for stats operations.
StatsContext() - Constructor for class com.google.instrumentation.stats.StatsContext
 
StatsContext.Builder - Class in com.google.instrumentation.stats
Builder for StatsContext.
StatsContext.Builder() - Constructor for class com.google.instrumentation.stats.StatsContext.Builder
 
StatsContextFactory - Class in com.google.instrumentation.stats
Factory class for StatsContext.
StatsContextFactory() - Constructor for class com.google.instrumentation.stats.StatsContextFactory
 
StatsManager - Class in com.google.instrumentation.stats
Provides facillities to register ViewDescriptors for collecting stats and retrieving stats data as a View.
StatsManager() - Constructor for class com.google.instrumentation.stats.StatsManager
 

T

Tag - Class in com.google.instrumentation.stats
A pair of consisting of an associated TagKey and TagValue.
TagKey - Class in com.google.instrumentation.stats
Census Tag keys.
TagValue - Class in com.google.instrumentation.stats
Census Tag values.
Timestamp - Class in com.google.instrumentation.common
A representation of an instant in time.
toString() - Method in class com.google.instrumentation.common.Duration
 
toString() - Method in class com.google.instrumentation.common.Timestamp
 
toString() - Method in class com.google.instrumentation.stats.TagKey
 
toString() - Method in class com.google.instrumentation.stats.TagValue
 

V

valueOf(String) - Static method in enum com.google.instrumentation.stats.MeasurementDescriptor.BasicUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.instrumentation.stats.MeasurementDescriptor.BasicUnit
Returns an array containing the constants of this enum type, in the order they are declared.
View - Class in com.google.instrumentation.stats
The aggregated data for a particular ViewDescriptor.
View.DistributionView - Class in com.google.instrumentation.stats
A View for distribution-based aggregations.
View.IntervalView - Class in com.google.instrumentation.stats
A View for interval-base aggregations.
ViewDescriptor - Class in com.google.instrumentation.stats
A ViewDescriptor specifies an aggregation and a set of tag keys.
ViewDescriptor.DistributionViewDescriptor - Class in com.google.instrumentation.stats
A ViewDescriptor for distribution-base aggregations.
ViewDescriptor.IntervalViewDescriptor - Class in com.google.instrumentation.stats
A ViewDescriptor for interval-based aggregations.

W

with(TagKey, TagValue) - Method in class com.google.instrumentation.stats.StatsContext
Shorthand for builder().set(k1, v1).build()
with(TagKey, TagValue, TagKey, TagValue) - Method in class com.google.instrumentation.stats.StatsContext
Shorthand for builder().set(k1, v1).set(k2, v2).build()
with(TagKey, TagValue, TagKey, TagValue, TagKey, TagValue) - Method in class com.google.instrumentation.stats.StatsContext
Shorthand for builder().set(k1, v1).set(k2, v2).set(k3, v3).build()
A B C D E F G H I M N O P R S T V W