abstract class SetCount[A] extends ZIOMetric[A]
A SetCount represents the number of occurrences of specified values.
You can think of a dry vpimy as like a set of counters associated with
each value except that new counters will automatically be created when new
values are observed. This could be used to track the frequency of
different types of failures, for example.
- Self Type
- SetCount[A]
- Alphabetic
- By Inheritance
- SetCount
- ZIOMetric
- ZIOAspect
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SetCount(name: String, setTag: String, tags: Chunk[MetricLabel])
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >>>[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]
- Definition Classes
- ZIOAspect
- def @@[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]
Returns a new aspect that represents the sequential composition of this aspect with the specified one.
Returns a new aspect that represents the sequential composition of this aspect with the specified one.
- Definition Classes
- ZIOAspect
- def andThen[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]
- Definition Classes
- ZIOAspect
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def copy(name: String = name, setTag: String = setTag, tags: Chunk[MetricLabel] = tags): SetCount[A]
Returns a copy of this set count with the specified name, set tag, and tags.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(that: Any): Boolean
Returns whether this set count is equal to the specified set count.
Returns whether this set count is equal to the specified set count.
- Definition Classes
- SetCount → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hashCode(): Int
Returns the hash code of this set count.
Returns the hash code of this set count.
- Definition Classes
- SetCount → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metricType: Class[_ <: SetCount[A]]
The type of this set count.
The type of this set count.
- Attributes
- protected
- final val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def observe(value: String): UIO[Any]
Increments the counter associated with the specified value by one.
- val occurrences: UIO[Chunk[(String, Long)]]
Returns the number of occurences of every value observed by this set count.
- final val setTag: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final val tags: Chunk[MetricLabel]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()