public interface ServerSession
Modifier and Type | Method and Description |
---|---|
int |
advanceStatementId(int increment)
Advance the statement identifier by the given increment.
|
long |
advanceTransactionNumber()
Return the next available transaction number.
|
BsonDocument |
getIdentifier() |
int |
getStatementId()
Gets the current statement id.
|
long |
getTransactionNumber()
Gets the current transaction number.
|
boolean |
isClosed()
Whether the server session is closed.
|
BsonDocument getIdentifier()
long getTransactionNumber()
int getStatementId()
int advanceStatementId(int increment)
increment
- the increment, which must be >= 1long advanceTransactionNumber()
boolean isClosed()