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

private static class FilteredAttributes.SmallFilteredAttributes extends 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 Details

    • BITS_PER_INTEGER

      private static final int BITS_PER_INTEGER
      See Also:
    • filteredIndices

      private final int filteredIndices
  • Constructor Details

    • SmallFilteredAttributes

      private SmallFilteredAttributes(Object[] sourceData, int hashcode, int size, int filteredIndices)
  • Method Details