MarkLogic XCC/.Net Library

ConnectionProvider Methods

The methods of the ConnectionProvider interface are listed below. For a complete list of ConnectionProvider interface members, see the ConnectionProvider Members topic.

Public Instance Methods

obtainConnection Provide a ServerConnection that is open and ready to communicate with the server.
returnConnection Return a ServerConnection object obtained from a previous call to obtainConnection() to the provider, possibly to be pooled and re-used. If the connection has a non-zero timeout value set com.marklogic.xcc.spi.ServerConnectionsetTimeoutMillislong, that value will inform the provider to discard the object after that amount of time has elapsed.
returnErrorConnection Return a connection that experienced an error. The provider will indicate the action the client should take.
shutdown Tell the provider to shutdown and release any resources being used. It's possible this method may never be called.

See Also

ConnectionProvider Interface | Marklogic.Xcc.Spi Namespace