public interface SessionMBean
getAdapterSet()
and getStartTime()
).getRemoteIP()
, getClientType()
, and getUsername()
).getIsPrestarted()
), together with a destroySession()
operation.getIsOnWS()
and getIsStreaming()
).getCumulItemUpdates()
).StreamMBean
, but only for this session.getMaxBandwidthKbps()
).StreamMBean
, but only for this session.getNewFilteredEvents()
).StreamMBean
, but only for this session.getCumulRealTimeEvents(java.lang.String, java.lang.String)
).getCumulMessageBytes()
).StreamMBean
, but only for this session.setAllocatedMaxBandwidthKbps(java.lang.Double)
and getAllocatedMaxBandwidthKbps()
).getSubscriptionList(java.lang.String)
and getTotalFields()
).getCumulPollingRequests()
and getCumulControlRequests()
).Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
destroySession()
Disconnect the Client and destroys this Session.
|
java.lang.String |
getAdapterSet() |
java.lang.Double |
getAllocatedBandwidthKbps() |
java.lang.Double |
getAllocatedMaxBandwidthKbps() |
java.lang.String |
getClientType() |
java.lang.String |
getClientVersion() |
java.lang.Long |
getCumulControlRequests() |
java.lang.Long |
getCumulControlRequestsFailed() |
java.lang.Long |
getCumulFilteredEvents() |
java.util.List<java.lang.Long> |
getCumulFilteredEvents(java.lang.String itemName,
java.lang.String dataAdapter) |
java.lang.Long |
getCumulItemUpdates() |
java.lang.Long |
getCumulLostEvents() |
java.util.List<java.lang.Long> |
getCumulLostEvents(java.lang.String itemName,
java.lang.String dataAdapter) |
java.lang.Long |
getCumulMessageBytes() |
java.lang.Long |
getCumulMessages() |
java.lang.Long |
getCumulOutboundBytes() |
java.lang.Long |
getCumulPollingRequests() |
java.util.List<java.lang.Long> |
getCumulRealTimeEvents(java.lang.String itemName,
java.lang.String dataAdapter) |
java.lang.Long |
getCumulSendMessageRequests() |
java.lang.Long |
getCumulStreamingRequests() |
java.lang.Long |
getCumulSubscriptionRequests() |
java.lang.Long |
getCumulUnsubscriptionRequests() |
java.lang.Double |
getCurrentBandwidthKbps() |
java.lang.Double |
getCurrentMessageThroughputKbps() |
java.lang.Boolean |
getIsClosed() |
java.lang.Boolean |
getIsOnHTTP() |
java.lang.Boolean |
getIsOnWS() |
java.lang.Boolean |
getIsPolling() |
java.lang.Boolean |
getIsPrestarted() |
java.lang.Boolean |
getIsStreaming() |
java.lang.Double |
getItemUpdateFrequency() |
java.lang.Integer |
getLocalPort() |
java.lang.Double |
getMaxBandwidthKbps() |
java.lang.Integer |
getMaxFilteredEvents() |
java.lang.Double |
getMaxItemUpdateFrequency() |
java.lang.Integer |
getMaxLostEvents() |
java.lang.Double |
getMaxMessageFrequency() |
java.lang.Double |
getMaxMessageThroughputKbps() |
java.lang.Double |
getMessageFrequency() |
java.lang.Integer |
getNewFilteredEvents() |
java.lang.Integer |
getNewLostEvents() |
java.lang.String |
getRemoteHostname() |
java.lang.String |
getRemoteIP() |
java.lang.Integer |
getRemotePort() |
java.lang.Boolean |
getSampledStatisticsEnabled() |
java.lang.String |
getSessionId() |
java.util.Date |
getStartTime() |
java.util.List<java.lang.String> |
getSubscriptionList(java.lang.String dataAdapter) |
java.lang.Integer |
getTotalFields() |
java.lang.Long |
getTotalSubscriptions() |
java.lang.String |
getUserAgent() |
java.lang.String |
getUsername() |
void |
setAllocatedMaxBandwidthKbps(java.lang.Double bandwidth) |
java.lang.String getSessionId()
java.util.Date getStartTime()
java.lang.Integer getLocalPort()
java.lang.String getRemoteIP()
java.lang.String getRemoteHostname()
java.lang.Integer getRemotePort()
java.lang.String getUserAgent()
java.lang.String getClientType()
java.lang.String getClientVersion()
java.lang.String getUsername()
java.lang.String getAdapterSet()
java.util.List<java.lang.String> getSubscriptionList(java.lang.String dataAdapter)
dataAdapter
- the name of a Data Adapter belonging to the Adapter
Set related with the Session, or null; if null, all Data Adapters
within the Adapter Set are searched and all subscriptions found
are aggregated.java.lang.Long getTotalSubscriptions()
java.lang.Integer getTotalFields()
java.lang.Boolean getSampledStatisticsEnabled()
java.lang.Long getCumulOutboundBytes()
java.lang.Long getCumulItemUpdates()
java.lang.Double getItemUpdateFrequency()
getSampledStatisticsEnabled()
).java.lang.Double getMaxItemUpdateFrequency()
getSampledStatisticsEnabled()
).java.lang.Boolean getIsStreaming()
java.lang.Boolean getIsPolling()
java.lang.Boolean getIsPrestarted()
java.lang.Boolean getIsOnHTTP()
java.lang.Boolean getIsOnWS()
java.lang.Long getCumulStreamingRequests()
java.lang.Long getCumulPollingRequests()
java.lang.Long getCumulControlRequests()
java.lang.Long getCumulSubscriptionRequests()
getCumulControlRequests()
).
The count may include duplicated requests, that will be ignored.java.lang.Long getCumulUnsubscriptionRequests()
getCumulControlRequests()
).
The count may include duplicated requests, that will be ignored.java.lang.Long getCumulSendMessageRequests()
getCumulControlRequests()
).
The count may include duplicated or delayed requests, that will be ignored.java.lang.Long getCumulControlRequestsFailed()
getCumulControlRequests()
) whose processing
has failed. This is usually due to authorization restrictions posed by the
Metadata Adapter. The count may include asynchronous message submission requests
that have eventually failed.java.lang.Double getCurrentBandwidthKbps()
getSampledStatisticsEnabled()
).java.lang.Double getMaxBandwidthKbps()
getSampledStatisticsEnabled()
).java.lang.Double getAllocatedBandwidthKbps()
java.lang.Double getAllocatedMaxBandwidthKbps()
getAllocatedBandwidthKbps()
.
It is expressed as Kilobits per second; the value has a three decimal precision;
a 0 value means that no limit is set; a -1 value means that no limit can be
set because of custom license restrictions.void setAllocatedMaxBandwidthKbps(java.lang.Double bandwidth)
bandwidth
- The maximum outbound bandwidth to be allowed by the Server for this Session.
The limit includes network overheads.
Note that the client can ask for a smaller bandwidth limit; the currently
enforced limit is reported by getAllocatedBandwidthKbps()
.
It is expressed as Kilobits per second; a 0 value means that no limit is set.java.lang.Long getCumulMessageBytes()
java.lang.Long getCumulMessages()
java.lang.Double getMessageFrequency()
getSampledStatisticsEnabled()
).java.lang.Double getMaxMessageFrequency()
getSampledStatisticsEnabled()
).java.lang.Double getCurrentMessageThroughputKbps()
getSampledStatisticsEnabled()
).java.lang.Double getMaxMessageThroughputKbps()
getSampledStatisticsEnabled()
).java.lang.Integer getNewLostEvents()
getSampledStatisticsEnabled()
).java.lang.Integer getMaxLostEvents()
getNewLostEvents()
) in a sampling period.
However, the returned value is always null if the collection of
periodic statistics is disabled (see getSampledStatisticsEnabled()
).java.lang.Long getCumulLostEvents()
getNewLostEvents()
).java.lang.Integer getNewFilteredEvents()
getNewLostEvents()
are not
considered as filtered.
Events discarded because of the application of a "selector" are
also included in this count, regardless of the subscription mode.
However, the returned value is always null if the collection of
periodic statistics is disabled (see getSampledStatisticsEnabled()
).java.lang.Integer getMaxFilteredEvents()
getNewFilteredEvents()
) in a sampling period.
However, the returned value is always null if the collection of
periodic statistics is disabled (see getSampledStatisticsEnabled()
).java.lang.Long getCumulFilteredEvents()
getNewFilteredEvents()
).java.util.List<java.lang.Long> getCumulRealTimeEvents(java.lang.String itemName, java.lang.String dataAdapter)
itemName
- an Item name.dataAdapter
- the name of a Data Adapter belonging to the Adapter
Set related with the Session, or null; if null, all Data Adapters
within the Adapter Set are searched and all subscriptions found
are aggregated.getSubscriptionList(java.lang.String)
).java.util.List<java.lang.Long> getCumulLostEvents(java.lang.String itemName, java.lang.String dataAdapter)
itemName
- an Item name.dataAdapter
- the name of a Data Adapter belonging to the Adapter
Set related with the Session, or null; if null, all Data Adapters
within the Adapter Set are searched and all subscriptions found
are aggregated.getNewLostEvents()
) disaggregated for each of the current
subscriptions of the specified Item requested by the Client.
Expressed as a List of Long. The list is ordered from
the earliest to the latest subscription request for the Item
(as in getSubscriptionList(java.lang.String)
).java.util.List<java.lang.Long> getCumulFilteredEvents(java.lang.String itemName, java.lang.String dataAdapter)
itemName
- an Item name.dataAdapter
- the name of a Data Adapter belonging to the Adapter
Set related with the Session, or null; if null, all Data Adapters
within the Adapter Set are searched and all subscriptions found
are aggregated.getNewFilteredEvents()
) disaggregated for each of the current
subscriptions of the specified Item requested by the Client.
Expressed as a List of Long. The list is ordered from
the earliest to the latest subscription request for the Item
(as in getSubscriptionList(java.lang.String)
).java.lang.Boolean destroySession()
java.lang.Boolean getIsClosed()