public interface SessionMBean
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 |
getCumulFilteredEvents(java.lang.String itemName,
java.lang.String dataAdapter) |
java.lang.Long |
getCumulItemUpdates() |
java.lang.Long |
getCumulLostEvents() |
java.util.List |
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.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 |
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.String |
getSessionId() |
java.util.Date |
getStartTime() |
java.util.List |
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 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.Long getCumulOutboundBytes()
java.lang.Long getCumulItemUpdates()
java.lang.Double getItemUpdateFrequency()
java.lang.Double getMaxItemUpdateFrequency()
java.lang.Boolean getIsStreaming()
java.lang.Boolean getIsPolling()
java.lang.Boolean getIsPrestarted()
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()
java.lang.Double getMaxBandwidthKbps()
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()
java.lang.Double getMaxMessageFrequency()
java.lang.Double getCurrentMessageThroughputKbps()
java.lang.Double getMaxMessageThroughputKbps()
java.lang.Integer getNewLostEvents()
java.lang.Integer getMaxLostEvents()
getNewLostEvents()
) in a sampling period.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.java.lang.Integer getMaxFilteredEvents()
getNewFilteredEvents()
) in a sampling period.java.lang.Long getCumulFilteredEvents()
getNewFilteredEvents()
).java.util.List 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 an ArrayList 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 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 an ArrayList 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()