trait MetricNotifier extends AnyRef
A metric notifier manages subscriptions from various clients and generates a Stream of Chunk[MetricState] at regular time intervals. This stream can be used to push data towards push based back-ends such as StatsD or the ZMX developers client.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricNotifier
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
connect(): UIO[(String, UStream[MetricsUpdate], UStream[Seq[MetricKey]])]
Create a new connection generating a new id.
Create a new connection generating a new id. All subscriptions within that connection will report their changes to the same stream. Secondly we create a Stream where we publish the currently discovered metricKeys on a regular basis.
- abstract def disconnect(id: String): UIO[Unit]
- abstract def stop(): UIO[Unit]
-
abstract
def
subscribe(conId: String, subId: String, keys: Chunk[MetricKey], interval: zio.Duration): UIO[Unit]
Create a new subscription within a formerly created connection
- abstract def unsubscribe(conId: String, id: String): UIO[Unit]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()