public final class ClientThresholdAdvisory extends AdvisoryEvent
Title: Service Event Fabric Core
Description: Defines an advisory raised by the Fabric Exchange if a number of the external clients connected to the node reaches the specified threshold.
Copyright: Copyright (c) 2021
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_ID |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
ClientThresholdAdvisory() |
ClientThresholdAdvisory(java.lang.String protocol,
ThresholdAdvisoryType type,
int threshold,
int currentValue) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentValue()
Returns the current number of external clients that reached the specified threshold.
|
java.lang.String |
getProtocol()
Returns the protocol of the monitored clients.
|
int |
getThreshold()
Returns the specified threshold for the number of external clients.
|
ThresholdAdvisoryType |
getType()
Returns a flag indicating if the specified threshold has been reached from below or from above.
|
equals, getCorrelationId, getCorrelationIdAsBytes, setCorrelationId, setCorrelationIdAsBytes, setEventGroupId, setEventKey
clone, getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getSerialVersionUID, getTimestamp, getTransmitAccess, isCoalesced, setDurable, setEventId
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getTimestamp, getTransmitAccess
getSerialVersionUID
public static final java.lang.String EVENT_ID
public ClientThresholdAdvisory()
public ClientThresholdAdvisory(java.lang.String protocol, ThresholdAdvisoryType type, int threshold, int currentValue)
public java.lang.String getProtocol()
public ThresholdAdvisoryType getType()
public int getThreshold()
public int getCurrentValue()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.