Class ORemoteURLs
java.lang.Object
com.orientechnologies.orient.client.remote.ORemoteURLs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(List<String> toAdd, OContextConfiguration clientConfiguration) protected StringaddHost(String host, OContextConfiguration clientConfiguration) Registers the remote server with port.protected intprotected intgetNextAvailableServerURL(boolean iIsConnectOperation, ORemoteClientSession session, OContextConfiguration contextConfiguration, ORemoteClient.CONNECTION_STRATEGY strategy) getServerURFromList(boolean iNextAvailable, ORemoteClientSession session, OContextConfiguration contextConfiguration) getUrls()parseServerUrls(String url, OContextConfiguration contextConfiguration) voidvoidremoveAndGet(String url) voidupdateDistributedNodes(List<String> hosts, OContextConfiguration clientConfiguration)
-
Constructor Details
-
ORemoteURLs
-
-
Method Details
-
remove
-
getUrls
-
removeAndGet
-
addAll
-
addHost
Registers the remote server with port. -
getDefaultPort
protected int getDefaultPort() -
getDefaultSSLPort
protected int getDefaultSSLPort() -
parseServerUrls
-
reloadOriginalURLs
public void reloadOriginalURLs() -
getServerURFromList
public String getServerURFromList(boolean iNextAvailable, ORemoteClientSession session, OContextConfiguration contextConfiguration) -
getNextAvailableServerURL
public String getNextAvailableServerURL(boolean iIsConnectOperation, ORemoteClientSession session, OContextConfiguration contextConfiguration, ORemoteClient.CONNECTION_STRATEGY strategy) -
updateDistributedNodes
-