public class OStorageRemoteSession extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
commandExecuting |
protected String |
connectionUserName |
protected String |
connectionUserPassword |
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() |
Collection<OStorageRemoteNodeSession> |
getAllServerSessions() |
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
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()
Copyright © 2009–2020 OrientDB. All rights reserved.