The methods of the ServerConnection interface are listed below. For a complete list of ServerConnection interface members, see the ServerConnection Members topic.
channel |
The channel to be used for server communication. |
close |
Close this server connection. If a connection is closed when returned to the provider, it will be silently dropped. |
getTimeoutMillis |
A timeout value, in milliseconds, which is a hint to the provider upon return to indicate how long this connection should be considered valid. Providers are expected to set this value to zero when giving out a connection via ConnectionProvider.obtainConnection(). |
isOpen |
Indicates whether the underlying connection channel is open. |
provider |
The ConnectionProvider to which this connection should be returned. |
setTimeoutMillis |
Set the suggested timeout value for this connection. This value is only used by the provider when a connection is passed to ConnectionProvider.returnConnection(). |
ServerConnection Interface | Marklogic.Xcc.Spi Namespace