Class FilteredAttributes.SmallFilteredAttributes
java.lang.Object
io.opentelemetry.sdk.metrics.internal.view.FilteredAttributes
io.opentelemetry.sdk.metrics.internal.view.FilteredAttributes.SmallFilteredAttributes
- All Implemented Interfaces:
Attributes
- Enclosing class:
FilteredAttributes
Implementation that relies on the source having less than
BITS_PER_INTEGER
attributes,
and storing entry filter status in the bits of an integer.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SmallFilteredAttributes
(Object[] sourceData, int hashcode, int size, int filteredIndices) -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
includeIndexInOutput
(int sourceIndex)
-
Field Details
-
BITS_PER_INTEGER
private static final int BITS_PER_INTEGER- See Also:
-
filteredIndices
private final int filteredIndices
-
-
Constructor Details
-
SmallFilteredAttributes
-
-
Method Details
-
includeIndexInOutput
boolean includeIndexInOutput(int sourceIndex) - Specified by:
includeIndexInOutput
in classFilteredAttributes
-