
public class OStorageRemoteSession
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
commandExecuting |
protected java.lang.String |
connectionUserName |
protected java.lang.String |
connectionUserPassword |
protected java.lang.String |
currentUrl |
protected int |
serverURLIndex |
protected java.util.Map<java.lang.String,OStorageRemoteNodeSession> |
sessions |
| Constructor and Description |
|---|
OStorageRemoteSession(int sessionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(OChannelBinary connection) |
void |
close() |
void |
closeAllSessions(ORemoteConnectionManager connectionManager,
OContextConfiguration clientConfiguration) |
java.util.Collection<OStorageRemoteNodeSession> |
getAllServerSessions() |
java.lang.String |
getCurrentUrl() |
java.lang.String |
getDebugLastHost() |
OStorageRemoteNodeSession |
getOrCreateServerSession(java.lang.String serverURL) |
OStorageRemoteNodeSession |
getServerSession(java.lang.String serverURL) |
java.lang.String |
getServerUrl() |
java.lang.Integer |
getSessionId() |
boolean |
hasConnection(OChannelBinary connection) |
boolean |
isClosed() |
boolean |
isStickToSession() |
void |
removeServerSession(java.lang.String serverURL) |
void |
stickToSession() |
void |
unStickToSession() |
public boolean commandExecuting
protected int serverURLIndex
protected java.lang.String connectionUserName
protected java.lang.String connectionUserPassword
protected java.util.Map<java.lang.String,OStorageRemoteNodeSession> sessions
protected java.lang.String currentUrl
public boolean hasConnection(OChannelBinary connection)
public OStorageRemoteNodeSession getServerSession(java.lang.String serverURL)
public OStorageRemoteNodeSession getOrCreateServerSession(java.lang.String serverURL)
public void addConnection(OChannelBinary connection)
public void close()
public boolean isClosed()
public java.lang.Integer getSessionId()
public java.lang.String getServerUrl()
public void removeServerSession(java.lang.String serverURL)
public java.util.Collection<OStorageRemoteNodeSession> getAllServerSessions()
public void stickToSession()
public void unStickToSession()
public boolean isStickToSession()
public void closeAllSessions(ORemoteConnectionManager connectionManager, OContextConfiguration clientConfiguration)
public java.lang.String getDebugLastHost()
public java.lang.String getCurrentUrl()
Copyright © 2009–2022 OrientDB. All rights reserved.