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