public interface JCoDestinationMonitor
JCoDestination.getMonitor()
or by JCo.getDestinationMonitor(id)
,
where id
is a value of JCo.getDestinationIDs()
.Modifier and Type | Method and Description |
---|---|
List<? extends JCoConnectionData> |
getConnectionsData()
Creates and returns a list of all client connections that are currently used with or
held open by the monitored destination instance.
|
String |
getDestinationID()
Returns the ID of the destination instance that is monitored by this instance.
|
String |
getDestinationName()
Returns the name of the destination configuration which the monitored destination
instance was created from.
|
long |
getLastActivityTimestamp()
Returns the time stamp of the last activity done with the monitored destination
instance.
|
int |
getMaxUsedCount()
Returns the maximum number of simultaneously used client connections with the
monitored destination instance.
|
String |
getOriginDestinationID()
Returns the ID of the destination instance that the monitored destination instance
originated from.
|
int |
getPeakLimit()
Returns the maximum number of client connections that can be used simultaneously
with the monitored destination instance.
|
int |
getPoolCapacity()
Returns the maximum number of client connections that will be held open for the
monitored destination instance.
|
int |
getPooledConnectionCount()
Returns the number of client connections that are currently held open for the
monitored destination instance.
|
int |
getUsedConnectionCount()
Returns the number of client connections that are currently being used with the
monitored destination instance.
|
int |
getWaitingThreadCount()
Returns the number of threads that are currently waiting for a free connection to
be used with the monitored destination instance.
|
boolean |
isValid()
Returns
true if the monitored destination instance is valid, i.e. |
String getDestinationID()
String getOriginDestinationID()
JCoCustomDestination
instance. In case of monitoring a configured destination instance, it will return
null
.null
String getDestinationName()
int getPoolCapacity()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidint getPeakLimit()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidint getUsedConnectionCount()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidint getPooledConnectionCount()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidint getMaxUsedCount()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidint getWaitingThreadCount()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidlong getLastActivityTimestamp()
JCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidList<? extends JCoConnectionData> getConnectionsData()
JCoConnectionData
objects describing all open client
connectionsJCoRuntimeException
- with key JCO_ERROR_DESTINATION_DATA_INVALID
if the monitored destination instance is invalidboolean isValid()
true
if the monitored destination instance is valid, i.e. it has
neither been changed nor removed.true
if the monitored destination instance is valid;
false
otherwiseCopyright © 2023 SAP. All rights reserved.