|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedConnection
The management interface exposed to allow management of Connections.
Field Summary | |
---|---|
static String |
CHAN_ID
|
static List<String> |
COMPOSITE_ITEM_NAMES_DESC
|
static String |
DEFAULT_QUEUE
|
static String |
FLOW_BLOCKED
|
static List<String> |
TABULAR_UNIQUE_INDEX
|
static String |
TRANSACTIONAL
|
static String |
TYPE
|
static String |
UNACKED_COUNT
|
Method Summary | |
---|---|
TabularData |
channels()
channel details of all the channels opened for this connection. |
void |
closeConnection()
Closes all the related channels and unregisters this connection from managed objects. |
void |
commitTransactions(int channelId)
Commits the transactions if the channel is transactional. |
String |
getAuthorizedId()
|
String |
getClientId()
|
Date |
getLastIoTime()
Tells the last time, the IO operation was done. |
Long |
getMaximumNumberOfChannels()
Threshold high value for no of channels. |
String |
getRemoteAddress()
Tells the remote address of this connection. |
String |
getVersion()
|
void |
rollbackTransactions(int channelId)
Rollsback the transactions if the channel is transactional. |
void |
setMaximumNumberOfChannels(Long value)
Sets the threshold high value for number of channels for a connection |
Field Detail |
---|
static final String TYPE
static final String CHAN_ID
static final String TRANSACTIONAL
static final String DEFAULT_QUEUE
static final String UNACKED_COUNT
static final String FLOW_BLOCKED
static final List<String> COMPOSITE_ITEM_NAMES_DESC
static final List<String> TABULAR_UNIQUE_INDEX
Method Detail |
---|
String getClientId()
String getAuthorizedId()
String getVersion()
String getRemoteAddress()
Date getLastIoTime()
Long getMaximumNumberOfChannels()
void setMaximumNumberOfChannels(Long value)
value
- TabularData channels() throws IOException, JMException
IOException
JMException
void commitTransactions(int channelId) throws JMException
channelId
-
JMException
void rollbackTransactions(int channelId) throws JMException
channelId
-
JMException
void closeConnection() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |