| Modifier and Type | Field and Description |
|---|---|
| protected boolean | shouldAlwaysUseExclusiveConnection
If true all classes are read through the exclusive connection, otherwise only the isolated ones. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ExclusiveIsolatedClientSession(ServerSession parent, ConnectionPolicy connectionPolicy, Map<K, V> properties)
|
| Modifier and Type | Method and Description |
|---|---|
| public Collection | getAccessors()
Overrides org. |
| public boolean | isExclusiveConnectionRequired()
Overrides org. |
| public boolean | isExclusiveIsolatedClientSession()
Overrides org. |
| public void | postAcquireConnection(Accessor accessor)
Overrides org. |
| public void | preReleaseConnection(Accessor accessor)
Overrides org. |
| protected void | releaseWriteConnection()
Overrides org. |
| public void | setAccessor(Accessor accessor)
Overrides org. |
| protected boolean | shouldExecuteLocally(DatabaseQuery query)
Overrides org. |
| shouldAlwaysUseExclusiveConnection | back to summary |
|---|---|
| protected boolean shouldAlwaysUseExclusiveConnection If true all classes are read through the exclusive connection, otherwise only the isolated ones. | |
| ExclusiveIsolatedClientSession | back to summary |
|---|---|
| public ExclusiveIsolatedClientSession(ServerSession parent, ConnectionPolicy connectionPolicy) | |
| ExclusiveIsolatedClientSession | back to summary |
|---|---|
| public ExclusiveIsolatedClientSession(ServerSession parent, ConnectionPolicy connectionPolicy, Map<K, V> properties) | |
| getAccessors | back to summary |
|---|---|
| public Collection Overrides org. INTERNAL: Always use writeConnection.
| |
| isExclusiveConnectionRequired | back to summary |
|---|---|
| public boolean isExclusiveConnectionRequired() Overrides org. INTERNAL: This method is called in case externalConnectionPooling is used. If returns true, accessor used by the session keeps its connection open until released by the session.
| |
| isExclusiveIsolatedClientSession | back to summary |
|---|---|
| public boolean isExclusiveIsolatedClientSession() Overrides org. PUBLIC: Return if this session is an exclusive isolated client session.
| |
| postAcquireConnection | back to summary |
|---|---|
| public void postAcquireConnection(Accessor accessor) Overrides org. INTERNAL: This method rises appropriate for the session event(s) right after connection is acquired.
| |
| preReleaseConnection | back to summary |
|---|---|
| public void preReleaseConnection(Accessor accessor) Overrides org. INTERNAL: This method rises appropriate for the session event(s) right before the connection is released.
| |
| releaseWriteConnection | back to summary |
|---|---|
| protected void releaseWriteConnection() Overrides org. INTERNAL: As this session type should maintain it's transaction for its entire life- cycle we will wait for 'release' before releasing connection. By making this method a no-op the connection will not be released until 'release()' is called on the client session.
| |
| setAccessor | back to summary |
|---|---|
| public void setAccessor(Accessor accessor) Overrides org. INTERNAL: Provided for consistency.
| |
| shouldExecuteLocally | back to summary |
|---|---|
| protected boolean shouldExecuteLocally(DatabaseQuery query) Overrides org. INTERNAL: Helper method to calculate whether to execute this query locally or send it to the server session.
| |