public abstract class ChannelMetricEventProvider
extends java.lang.Object
ObservableConnection
and the underlying netty channel is the same irrespective of whether it is used by
the client or the server. However, the metric events are specific to clients and servers, so, this class makes it
possible to use the same ObservableConnection both with client and server.
Constructor and Description |
---|
ChannelMetricEventProvider() |
Modifier and Type | Method and Description |
---|---|
abstract MetricsEvent<?> |
getBytesReadEvent() |
abstract MetricsEvent<?> |
getChannelCloseFailedEvent() |
abstract MetricsEvent<?> |
getChannelCloseStartEvent() |
abstract MetricsEvent<?> |
getChannelCloseSuccessEvent() |
abstract MetricsEvent<?> |
getFlushFailedEvent() |
abstract MetricsEvent<?> |
getFlushStartEvent() |
abstract MetricsEvent<?> |
getFlushSuccessEvent() |
abstract MetricsEvent<?> |
getWriteFailedEvent() |
abstract MetricsEvent<?> |
getWriteStartEvent() |
abstract MetricsEvent<?> |
getWriteSuccessEvent() |
public abstract MetricsEvent<?> getChannelCloseStartEvent()
public abstract MetricsEvent<?> getChannelCloseSuccessEvent()
public abstract MetricsEvent<?> getChannelCloseFailedEvent()
public abstract MetricsEvent<?> getWriteStartEvent()
public abstract MetricsEvent<?> getWriteSuccessEvent()
public abstract MetricsEvent<?> getWriteFailedEvent()
public abstract MetricsEvent<?> getFlushStartEvent()
public abstract MetricsEvent<?> getFlushSuccessEvent()
public abstract MetricsEvent<?> getFlushFailedEvent()
public abstract MetricsEvent<?> getBytesReadEvent()