Class ODatabaseDocumentEmbeddedPooled
java.lang.Object
com.orientechnologies.common.listener.OListenerManger<ODatabaseListener>
com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract
com.orientechnologies.orient.core.db.document.ODatabaseDocumentEmbedded
com.orientechnologies.orient.core.db.ODatabaseDocumentEmbeddedPooled
- All Implemented Interfaces:
ODatabaseDocument,OQueryLifecycleListener,ODatabase<ORecord>,ODatabaseDocumentInternal,ODatabaseInternal<ORecord>,ODatabaseSession,OBackupable,Closeable,AutoCloseable
Created by tglman on 07/07/16.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.ODatabase
ODatabase.ATTRIBUTES, ODatabase.STATUS -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract
activeQueries, componentsFactory, currentTx, databaseOwner, hooks, hooksByScope, inHook, initialized, loadedRecordsCount, localCache, maxRecordLoadMs, maxRidbagPrefetchMs, metadata, minRecordLoadMs, minRidbagPrefetchMs, properties, queryState, recordType, retainRecords, ridbagPrefetchCount, serializer, sharedContext, status, totalRecordLoadMs, totalRidbagPrefetchMs, unmodifiableHooks, url, userFields inherited from interface com.orientechnologies.orient.core.db.document.ODatabaseDocument
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionODatabaseDocumentEmbeddedPooled(ODatabasePoolInternal pool, OStorage storage) -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.db.document.ODatabaseDocumentEmbedded
addBlobCluster, addCluster, addCluster, addRidbagPrefetchStats, afterCommitOperations, afterCreateOperations, afterDeleteOperations, afterReadOperations, afterRollbackOperations, afterUpdateOperations, backup, beforeCreateOperations, beforeDeleteOperations, beforeReadOperations, beforeUpdateOperations, callOnCreateListeners, ceilingPhysicalPositions, checkSecurity, checkSecurity, checkSecurity, command, command, commandLikeLegacy, commitPreallocate, countClusterElements, countClusterElements, countClusterElements, countRecords, createMetadata, createSBTree, delete, directRead, dropCluster, dropCluster, dropClusterInternal, dropClusterInternal, endEsclusiveMetadataChange, execute, execute, executeDeleteRecord, executeLikeLegacy, executeReadRecord, floorPhysicalPositions, freeze, freeze, getClusterDataRange, getClusterName, getClusterRecordConflictStrategy, getClusterRecordSizeById, getClusterRecordSizeByName, getClustersIds, getConfig, getConflictStrategy, getLastClusterPosition, getRecordMetadata, getSbTreeCollectionManager, getSize, getStats, getStorage, getStorageInfo, getViewFromCluster, higherPhysicalPositions, incrementalBackup, init, installHooksEmbedded, internalClose, internalCommit, internalCommitPreallocate, internalCreate, internalLockRecord, internalLockRecord, internalOpen, internalOpen, internalOpen, internalUnlockRecord, isClosed, isReusable, live, live, loadMetadata, lock, lock, lowerPhysicalPositions, query, query, query, queryLikeLegacy, queryStarted, queryStartUsingViewCluster, queryStartUsingViewIndex, readIfVersionIsNotLatest, rebuildIndexes, release, reload, replaceStorage, resetRecordLoadStats, restore, saveAll, sendSequenceAction, set, setConflictStrategy, setConflictStrategy, setCustom, setDefaultClusterId, startEsclusiveMetadataChange, truncateClass, truncateClass, truncateCluster, truncateClusterInternal, unlockMethods inherited from class com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract
activateOnCurrentThread, assignAndCheckCluster, beforeCommitOperations, beforeRollbackOperations, begin, begin, browseClass, browseClass, browseCluster, browseCluster, browseCluster, callbackHookFailure, callbackHookFinalize, callbackHooks, callbackHookSuccess, callOnCloseListeners, callOnDropListeners, callOnOpenListeners, checkForClusterPermissions, checkIfActive, checkOpenness, checkRecordClass, checkSecurity, cleanOutRecord, clearDocumentTracking, closeActiveQueries, commit, commit, countClass, countClass, countClass, countView, delete, delete, executeWithRetries, executeWithRetries, executeWithRetries, existsCluster, get, getActiveQueries, getActiveQuery, getBlobClusterIds, getClusterIdByName, getClusterNameById, getClusterNames, getClusters, getCollectionsChanges, getConfiguration, getDatabaseOwner, getDefaultClusterId, getDefaultSerializer, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getName, getProperties, getProperty, getRecord, getRecordType, getSerializer, getSerializerFactory, getSharedContext, getStatus, getStorageVersions, getTransaction, getType, getUnderlying, getURL, getUser, init, isActiveOnCurrentThread, isClusterEdge, isClusterVertex, isClusterView, isPooled, isPrefetchRecords, isUseLightweightEdges, isValidationEnabled, load, load, load, load, load, load, loadIfVersionIsNotLatest, newBlob, newBlob, newEdge, newEdge, newElement, newElement, newElement, newEmbeddedElement, newEmbeddedElement, newInstance, newInstance, newLightweightEdge, newRegularEdge, newVertex, newVertex, pessimisticLockChecks, queryClosed, queryStarted, rawBegin, registerHook, registerHook, reload, reload, reload, reload, reloadUser, resetInitialization, rollback, rollback, save, save, save, setCurrentDatabaseInThreadLocal, setDatabaseOwner, setDefaultSerializer, setDefaultTransactionMode, setInternal, setPrefetchRecords, setProperty, setSerializer, setStatus, setStatusInternal, setUseLightweightEdges, setUser, setValidationEnabled, swapTx, unregisterHookMethods inherited from class com.orientechnologies.common.listener.OListenerManger
browseListeners, getListenersCopy, registerListener, resetListeners, unregisterListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.db.ODatabase
createClass, executeWithRetry, getClass, registerListener, unregisterListenerMethods inherited from interface com.orientechnologies.orient.core.db.document.ODatabaseDocument
createClassIfNotExist, createEdgeClass, createVertexClass, newEdge, newVertex, reloadMethods inherited from interface com.orientechnologies.orient.core.db.ODatabaseDocumentInternal
getHaStatus, getStorageId, indexQuery, isDistributed, isLocalEnv, isRemote, queryOnNode, remoteRollback, removeHaServer, sync, syncCommitMethods inherited from interface com.orientechnologies.orient.core.db.ODatabaseInternal
createInterruptTimerTask, getActiveDataCenterMap, getEnterpriseEndpoint, getLocalNodeName, isShardedMethods inherited from interface com.orientechnologies.orient.core.db.document.OQueryLifecycleListener
queryClosed
-
Constructor Details
-
ODatabaseDocumentEmbeddedPooled
-
-
Method Details
-
close
public void close()Description copied from interface:ODatabaseCloses an opened database, if the database is already closed does nothing, if a transaction is active will be rollback.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceODatabase<ORecord>- Overrides:
closein classODatabaseDocumentAbstract
-
reuse
public void reuse() -
copy
Description copied from class:ODatabaseDocumentEmbeddedReturns a copy of current database if it's open. The returned instance can be used by another thread without affecting current instance. The database copy is not set in thread local.- Specified by:
copyin interfaceODatabaseDocumentInternal- Overrides:
copyin classODatabaseDocumentEmbedded
-
realClose
public void realClose()
-