
public class OrientDBDistributed extends OrientDBEmbedded implements OServerAware
OrientDBEmbedded.DatabaseFound, OrientDBEmbedded.InstanceFactory<T>basePath, cachedPoolFactory, configurations, disk, doubleWriteLogMaxSegSize, maxWALSegmentSize, memory, orient, pools, sharedContexts, storages| Constructor and Description |
|---|
OrientDBDistributed(String directoryPath,
OrientDBConfig config,
Orient instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
coordinatedRequest(OClientConnection connection,
int requestType,
int clientTxId,
OChannelBinary channel) |
protected OSharedContext |
createSharedContext(OAbstractPaginatedStorage storage) |
void |
drop(String name,
String user,
String password)
Drop a database
|
OStorage |
fullSync(String dbName,
InputStream backupStream,
OrientDBConfig config) |
OHazelcastPlugin |
getPlugin() |
void |
init(OServer server) |
protected ODatabaseDocumentEmbedded |
newPooledSessionInstance(ODatabasePoolInternal pool,
OAbstractPaginatedStorage storage) |
protected ODatabaseDocumentEmbedded |
newSessionInstance(OAbstractPaginatedStorage storage) |
ODatabaseDocumentInternal |
open(String name,
String user,
String password)
Open a database specified by name using the username and password if needed
|
ODatabaseDocumentInternal |
open(String name,
String user,
String password,
OrientDBConfig config)
Open a database specified by name using the username and password if needed, with specific
configuration
|
ODatabaseDocumentInternal |
poolOpen(String name,
String user,
String password,
ODatabasePoolInternal pool)
Internal api for request to open a database with a pool
|
void |
setPlugin(OHazelcastPlugin plugin) |
buildName, cachedPool, cachedPool, checkOpen, close, create, create, createCachedDatabasePoolFactory, execute, executeNoAuthorization, executeNoDb, exists, forceDatabaseClose, generateStorageId, getConfigurations, getDatabasePath, getOrCreateSharedContext, getOrInitStorage, getScriptManager, getStorage, getStorages, initAutoClose, initCustomStorage, internalClose, internalCreate, isEmbedded, isOpen, listDatabases, listLodadedDatabases, loadAllDatabases, networkRestore, openNoAuthenticate, openNoAuthorization, openPool, openPool, removePool, removeShutdownHook, restore, restore, schedule, scheduleOnce, solveConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdistributed, embedded, extract, fromUrl, newOrientDB, remotepublic OrientDBDistributed(String directoryPath, OrientDBConfig config, Orient instance)
public void init(OServer server)
init in interface OServerAwarepublic OHazelcastPlugin getPlugin()
protected OSharedContext createSharedContext(OAbstractPaginatedStorage storage)
createSharedContext in class OrientDBEmbeddedprotected ODatabaseDocumentEmbedded newSessionInstance(OAbstractPaginatedStorage storage)
newSessionInstance in class OrientDBEmbeddedprotected ODatabaseDocumentEmbedded newPooledSessionInstance(ODatabasePoolInternal pool, OAbstractPaginatedStorage storage)
newPooledSessionInstance in class OrientDBEmbeddedpublic void setPlugin(OHazelcastPlugin plugin)
public OStorage fullSync(String dbName, InputStream backupStream, OrientDBConfig config)
fullSync in interface OrientDBInternalpublic ODatabaseDocumentInternal poolOpen(String name, String user, String password, ODatabasePoolInternal pool)
OrientDBInternalpoolOpen in interface OrientDBInternalpoolOpen in class OrientDBEmbeddedpublic void drop(String name, String user, String password)
OrientDBInternaldrop in interface OrientDBInternaldrop in class OrientDBEmbeddedname - database nameuser - the username of a user allowed to drop a database, in case of remote is a server
user for embedded it can be left emptypassword - the password relative to the userpublic ODatabaseDocumentInternal open(String name, String user, String password)
OrientDBInternalopen in interface OrientDBInternalopen in class OrientDBEmbeddedname - of the database to openuser - the username allowed to open the databasepassword - related to the specified usernamepublic ODatabaseDocumentInternal open(String name, String user, String password, OrientDBConfig config)
OrientDBInternalopen in interface OrientDBInternalopen in class OrientDBEmbeddedname - of the database to openuser - the username allowed to open the databasepassword - related to the specified usernameconfig - database specific configuration that override the factory global settings where
needed.public void coordinatedRequest(OClientConnection connection, int requestType, int clientTxId, OChannelBinary channel) throws IOException
coordinatedRequest in interface OServerAwareIOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.