All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
int |
addCluster(String iClusterName,
boolean forceListBased,
Object... iArguments) |
int |
addCluster(String iClusterName,
int iRequestedId,
boolean forceListBased,
Object... iParameters) |
protected String |
addHost(String host)
Registers the remote server with port.
|
int |
addUser() |
<T> T |
asyncNetworkOperation(OStorageRemoteOperationWrite write,
OStorageRemoteOperationRead<T> read,
int mode,
ORecordId recordId,
ORecordCallback<T> callback,
String errorMessage) |
List<String> |
backup(OutputStream out,
Map<String,Object> options,
Callable<Object> callable,
OCommandOutputListener iListener,
int compressionLevel,
int bufferSize) |
<T> T |
baseNetworkOperation(OStorageRemoteOperation<T> operation,
String errorMessage,
int retry) |
OChannelBinaryAsynchClient |
beginRequest(OChannelBinaryAsynchClient network,
byte iCommand,
OStorageRemoteSession session)
Acquire a network channel from the pool.
|
void |
beginResponse(OChannelBinaryAsynchClient iNetwork,
OStorageRemoteSession session) |
OPhysicalPosition[] |
ceilingPhysicalPositions(int clusterId,
OPhysicalPosition physicalPosition) |
boolean |
cleanOutRecord(ORecordId recordId,
int recordVersion,
int iMode,
ORecordCallback<Boolean> callback) |
void |
clearProperties() |
void |
close(boolean iForce,
boolean onDelete) |
Object |
command(OCommandRequestText iCommand)
Execute the command remotely and get the results back.
|
List<ORecordOperation> |
commit(OTransaction iTx,
Runnable callback) |
OStorageRemote |
copy(ODatabaseDocumentTx source,
ODatabaseDocumentTx dest) |
long |
count(int iClusterId) |
long |
count(int[] iClusterIds) |
long |
count(int[] iClusterIds,
boolean countTombstones) |
long |
count(int iClusterId,
boolean countTombstones) |
long |
countRecords() |
void |
create(Map<String,Object> iOptions) |
OStorageOperationResult<OPhysicalPosition> |
createRecord(ORecordId iRid,
byte[] iContent,
int iRecordVersion,
byte iRecordType,
int iMode,
ORecordCallback<Long> iCallback) |
void |
delete() |
OStorageOperationResult<Boolean> |
deleteRecord(ORecordId iRid,
int iVersion,
int iMode,
ORecordCallback<Boolean> iCallback) |
boolean |
dropCluster(int iClusterId,
boolean iTruncate) |
void |
endRequest(OChannelBinaryAsynchClient iNetwork)
Ends the request and unlock the write lock
|
void |
endResponse(OChannelBinaryAsynchClient iNetwork)
End response reached: release the channel in the pool to being reused
|
boolean |
exists() |
OPhysicalPosition[] |
floorPhysicalPositions(int clusterId,
OPhysicalPosition physicalPosition) |
OContextConfiguration |
getClientConfiguration() |
OCluster |
getClusterById(int iClusterId) |
OCluster |
getClusterByName(String iClusterName) |
ODocument |
getClusterConfiguration() |
long[] |
getClusterDataRange(int iClusterId) |
int |
getClusterIdByName(String iClusterName) |
Collection<OCluster> |
getClusterInstances() |
int |
getClusterMap() |
Set<String> |
getClusterNames() |
int |
getClusters() |
ORecordConflictStrategy |
getConflictStrategy() |
protected String |
getCurrentServerURL() |
protected OStorageRemoteSession |
getCurrentSession() |
int |
getDefaultClusterId() |
protected int |
getDefaultPort() |
protected int |
getDefaultSSLPort() |
OChannelBinaryAsynchClient |
getNetwork(String iCurrentURL) |
protected String |
getNextAvailableServerURL(boolean iIsConnectOperation,
OStorageRemoteSession session) |
String |
getPhysicalClusterNameById(int iClusterId) |
ORecordMetadata |
getRecordMetadata(ORID rid) |
protected void |
getResponse(OChannelBinaryAsynchClient iNetwork,
OStorageRemoteSession session) |
OSBTreeCollectionManager |
getSBtreeCollectionManager() |
protected String |
getServerURFromList(boolean iNextAvailable,
OStorageRemoteSession session) |
String |
getServerURL() |
int |
getSessionId() |
long |
getSize() |
String |
getType() |
String |
getURL() |
String |
getUserName() |
int |
getUsers() |
long |
getVersion() |
OStorageOperationResult<Boolean> |
hideRecord(ORecordId recordId,
int mode,
ORecordCallback<Boolean> callback) |
OPhysicalPosition[] |
higherPhysicalPositions(int iClusterId,
OPhysicalPosition iClusterPosition) |
void |
importDatabase(String options,
InputStream inputStream,
String name,
OCommandOutputListener listener) |
String |
incrementalBackup(String backupDirectory) |
boolean |
isAssigningClusterIds() |
boolean |
isClosed() |
boolean |
isPermanentRequester() |
boolean |
isRemote() |
OPhysicalPosition[] |
lowerPhysicalPositions(int iClusterId,
OPhysicalPosition physicalPosition) |
<T> T |
networkOperation(OStorageRemoteOperation<T> operation,
String errorMessage) |
<T> T |
networkOperationRetry(OStorageRemoteOperation<T> operation,
String errorMessage,
int retry) |
void |
open(String iUserName,
String iUserPassword,
Map<String,Object> iOptions) |
protected void |
openRemoteDatabase() |
void |
openRemoteDatabase(OChannelBinaryAsynchClient network) |
protected void |
openRemoteDatabase(String currentURL) |
protected void |
parseServerURLs()
Parse the URLs.
|
OStorageOperationResult<ORawBuffer> |
readRecord(ORecordId iRid,
String iFetchPlan,
boolean iIgnoreCache,
boolean prefetchRecords,
ORecordCallback<ORawBuffer> iCallback) |
OStorageOperationResult<ORawBuffer> |
readRecordIfVersionIsNotLatest(ORecordId rid,
String fetchPlan,
boolean ignoreCache,
int recordVersion) |
protected Object |
readSynchResult(OChannelBinaryAsynchClient network,
ODatabaseDocument database,
List<ORecord> temporaryResults) |
void |
recyclePosition(ORecordId iRecordId,
byte[] content,
int recordVersion,
byte recordType) |
void |
reload() |
void |
removeProperty(String property) |
void |
removeSessions(String url) |
int |
removeUser() |
protected String |
reopenRemoteDatabase() |
void |
restore(InputStream in,
Map<String,Object> options,
Callable<Object> callable,
OCommandOutputListener iListener) |
void |
restoreFromIncrementalBackup(String filePath) |
void |
rollback(OTransaction iTx) |
protected void |
sendClientInfo(OChannelBinaryAsynchClient network,
String driverName,
boolean supportsPushMessages,
boolean collectStats) |
void |
setCharset(String charset) |
void |
setClusterSelection(String clusterSelection) |
void |
setConflictStrategy(ORecordConflictStrategy iResolver) |
void |
setDateFormat(String dateFormat) |
void |
setDateTimeFormat(String dateTimeFormat) |
void |
setDefaultClusterId(int defaultClusterId) |
void |
setIndexMgrRecordId(String indexMgrRecordId) |
void |
setLocaleCountry(String localeCountry) |
void |
setLocaleLanguage(String localeLanguage) |
void |
setMinimumClusters(int minimumClusters) |
void |
setProperty(String property,
String value) |
void |
setRecordSerializer(String recordSerializer,
int version) |
void |
setSchemaRecordId(String schemaRecordId) |
void |
setTimeZone(TimeZone timeZone) |
void |
setValidation(boolean validation) |
void |
synch() |
void |
updateClusterConfiguration(String iConnectedURL,
byte[] obj) |
void |
updateConfiguration() |
OStorageOperationResult<Integer> |
updateRecord(ORecordId iRid,
boolean updateContent,
byte[] iContent,
int iVersion,
byte iRecordType,
int iMode,
ORecordCallback<Integer> iCallback) |
protected String |
useNewServerURL(String iUrl) |