
public class ODatabaseDocumentTxPooled extends ODatabaseDocumentTx implements ODatabasePooled
ODatabasePoolBaseODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.STATUSembedded, internal, owner, remoteTYPE| Constructor and Description |
|---|
ODatabaseDocumentTxPooled(ODatabaseDocumentPool iOwnerPool,
String iURL,
String iUserName,
String iUserPassword) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkOpenness() |
void |
close()
Avoid to close it but rather release itself to the owner pool.
|
ODatabaseDocumentTxPooled |
create()
Creates a new database.
|
<DB extends ODatabase> |
create(String incrementalBackupPath)
Creates new database from database backup.
|
void |
forceClose()
Force closing the current instance avoiding to being reused.
|
boolean |
isClosed()
Checks if the database is closed.
|
boolean |
isPooled() |
boolean |
isUnderlyingOpen()
Tells if the underlying database is closed.
|
ODatabaseDocumentTxPooled |
open(OToken iToken)
Opens a database using an authentication token received as an argument.
|
ODatabaseDocumentTxPooled |
open(String iUserName,
String iUserPassword)
Opens a database using the user and password received as arguments.
|
void |
reuse(Object iOwner,
Object[] iAdditionalArgs)
Reuses current instance.
|
activateOnCurrentThread, addBlobCluster, addCluster, addCluster, afterCreateOperations, afterDeleteOperations, afterReadOperations, afterUpdateOperations, assignAndCheckCluster, backup, beforeCreateOperations, beforeDeleteOperations, beforeReadOperations, beforeUpdateOperations, begin, begin, begin, browseClass, browseClass, browseCluster, browseCluster, browseCluster, browseCluster, browseCluster, callbackHooks, callOnCloseListeners, callOnDropListeners, callOnOpenListeners, checkForClusterPermissions, checkIfActive, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, cleanOutRecord, clearOwner, closeAll, command, command, command, commit, commit, copy, countClass, countClass, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countView, create, declareIntent, delete, delete, delete, drop, dropCluster, dropCluster, execute, execute, executeDeleteRecord, executeReadRecord, exists, existsCluster, freeze, freeze, get, getActiveIntent, getBlobClusterIds, getClusterIdByName, getClusterName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getCollectionsChanges, getConfiguration, getConflictStrategy, getDatabaseOwner, getDefaultClusterId, getDefaultSerializer, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getMicroOrRegularTransaction, getName, getOrCreateEmbeddedFactory, getOrCreateRemoteFactory, getProperties, getProperty, getRecord, getRecordMetadata, getRecordType, getSbTreeCollectionManager, getSerializer, getSerializerFactory, getSharedContext, getSize, getStatus, getStorage, getStorageInfo, getStorageVersions, getTransaction, getType, getUnderlying, getURL, getUser, getViewFromCluster, incrementalBackup, internalClose, internalCommit, internalLockRecord, internalUnlockRecord, isActiveOnCurrentThread, isClusterEdge, isClusterVertex, isClusterView, isMVCC, isPrefetchRecords, isRemote, isRetainRecords, isUseLightweightEdges, isValidationEnabled, live, live, load, load, load, load, load, load, loadIfVersionIsNotLatest, lock, lock, newBlob, newBlob, newEdge, newEdge, newElement, newElement, newEmbeddedElement, newEmbeddedElement, newInstance, newInstance, newLightweightEdge, newRegularEdge, newVertex, newVertex, query, query, query, rawBegin, recycle, registerHook, registerHook, registerListener, release, reload, reload, reload, reloadUser, replaceStorage, resetInitialization, restore, rollback, rollback, save, save, save, save, saveAll, sendSequenceAction, set, setConflictStrategy, setConflictStrategy, setCustom, setDatabaseOwner, setDefaultSerializer, setDefaultTransactionMode, setInternal, setMVCC, setPrefetchRecords, setProperty, setRetainRecords, setSerializer, setStatus, setupThreadOwner, setUseLightweightEdges, setUser, setValidationEnabled, truncateCluster, unlock, unregisterHook, unregisterListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveQueries, getActiveQuery, getCommandInterruptionDepth, getHaStatus, indexQuery, isCommandInterrupted, isDistributed, queryOnNode, realClose, removeHaServer, reuse, setCommandInterrupted, setCommandInterruptionDepth, swapTx, sync, syncCommitcreateClassIfNotExist, createEdgeClass, createVertexClass, newEdge, newVertexcreateClass, executeWithRetry, getClassaddRidbagPrefetchStats, createInterruptTimerTask, getActiveClusterMap, getActiveDataCenterMap, getEnterpriseEndpoint, getLocalNodeName, getStats, isSharded, resetRecordLoadStatspublic ODatabaseDocumentTxPooled(ODatabaseDocumentPool iOwnerPool, String iURL, String iUserName, String iUserPassword)
public void reuse(Object iOwner, Object[] iAdditionalArgs)
ODatabasePooledreuse in interface ODatabasePooledpublic ODatabaseDocumentTxPooled open(String iUserName, String iUserPassword)
ODatabaseopen in interface ODatabase<ORecord>open in class ODatabaseDocumentTxiUserName - Username to loginiUserPassword - Password associated to the userpublic ODatabaseDocumentTxPooled open(OToken iToken)
ODatabaseInternalopen in interface ODatabaseInternal<ORecord>open in class ODatabaseDocumentTxiToken - Authentication tokenpublic ODatabaseDocumentTxPooled create()
ODatabasecreate in interface ODatabase<ORecord>create in class ODatabaseDocumentTxpublic <DB extends ODatabase> DB create(String incrementalBackupPath)
ODatabasecreate in interface ODatabase<ORecord>create in class ODatabaseDocumentTxDB - Concrete database instance type.incrementalBackupPath - Path to incremental backuppublic boolean isUnderlyingOpen()
ODatabasePooledisUnderlyingOpen in interface ODatabasePooledpublic boolean isClosed()
ODatabaseisClosed in interface ODatabase<ORecord>isClosed in class ODatabaseDocumentTxpublic boolean isPooled()
isPooled in interface ODatabaseDocumentisPooled in class ODatabaseDocumentTxtrue if database is obtained from the pool and false
otherwise.public void close()
close in interface ODatabase<ORecord>close in interface Closeableclose in interface AutoCloseableclose in class ODatabaseDocumentTxpublic void forceClose()
ODatabasePooledforceClose in interface ODatabasePooledprotected void checkOpenness()
checkOpenness in class ODatabaseDocumentTxCopyright © 2009–2025 OrientDB. All rights reserved.