Class ODatabaseDocumentDistributedPooled
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.server.distributed.impl.ODatabaseDocumentDistributed
com.orientechnologies.orient.server.distributed.impl.ODatabaseDocumentDistributedPooled
- All Implemented Interfaces:
ODatabaseDocument,OQueryLifecycleListener,ODatabase<ORecord>,ODatabaseDocumentInternal,ODatabaseInternal<ORecord>,ODatabaseSession,OBackupable,Closeable,AutoCloseable
Created by tglman on 30/03/17.
-
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
ConstructorsConstructorDescriptionODatabaseDocumentDistributedPooled(ODatabasePoolInternal pool, OStorage storage, ODistributedPlugin distributedPlugin) -
Method Summary
Methods inherited from class com.orientechnologies.orient.server.distributed.impl.ODatabaseDocumentDistributed
acquireLocksForTx, addCluster, addCluster, assignAndCheckCluster, backup, beginDistributedTx, checkNodeIsMaster, commit2pc, commit2pcLocal, createMetadata, distributedCommitV1, dropClusterInternal, dropClusterInternal, executeTaskOnNode, firstPhaseDDL, forceRsync, freeze, getActiveDataCenterMap, getDistributedConfiguration, getDistributedManager, getDistributedShared, getEnterpriseEndpoint, getHaStatus, getInvolvedClusters, getLocalNodeName, getStorageId, getViewFromCluster, handleDistributedException, init, internalBegin2pc, internalBegin2pc, internalCommit, internalCommit2pc, internalCommitPreallocate, isDistributed, isLocalEnv, isSharded, queryOnNode, register, release, removeHaServer, rollback2pc, secondPhaseDDL, sendDDLCommand, sendSequenceAction, sync, syncCommit, twoPhaseDDLMethods inherited from class com.orientechnologies.orient.core.db.document.ODatabaseDocumentEmbedded
addBlobCluster, addRidbagPrefetchStats, afterCommitOperations, afterCreateOperations, afterDeleteOperations, afterReadOperations, afterRollbackOperations, afterUpdateOperations, beforeCreateOperations, beforeDeleteOperations, beforeReadOperations, beforeUpdateOperations, callOnCreateListeners, ceilingPhysicalPositions, checkSecurity, checkSecurity, checkSecurity, command, command, commandLikeLegacy, commitPreallocate, countClusterElements, countClusterElements, countClusterElements, countRecords, createSBTree, delete, directRead, dropCluster, dropCluster, endEsclusiveMetadataChange, execute, execute, executeDeleteRecord, executeLikeLegacy, executeReadRecord, floorPhysicalPositions, freeze, getClusterDataRange, getClusterName, getClusterRecordConflictStrategy, getClusterRecordSizeById, getClusterRecordSizeByName, getClustersIds, getConfig, getConflictStrategy, getLastClusterPosition, getRecordMetadata, getSbTreeCollectionManager, getSize, getStats, getStorage, getStorageInfo, higherPhysicalPositions, incrementalBackup, installHooksEmbedded, internalClose, internalCreate, internalLockRecord, internalLockRecord, internalOpen, internalOpen, internalOpen, internalUnlockRecord, isClosed, isReusable, live, live, loadMetadata, lock, lock, lowerPhysicalPositions, query, query, query, queryLikeLegacy, queryStarted, queryStartUsingViewCluster, queryStartUsingViewIndex, readIfVersionIsNotLatest, rebuildIndexes, reload, replaceStorage, resetRecordLoadStats, restore, saveAll, set, setConflictStrategy, setConflictStrategy, setCustom, setDefaultClusterId, startEsclusiveMetadataChange, truncateClass, truncateClass, truncateCluster, truncateClusterInternal, unlockMethods inherited from class com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract
activateOnCurrentThread, 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
indexQuery, isRemote, remoteRollbackMethods inherited from interface com.orientechnologies.orient.core.db.ODatabaseInternal
createInterruptTimerTaskMethods inherited from interface com.orientechnologies.orient.core.db.document.OQueryLifecycleListener
queryClosed
-
Constructor Details
-
ODatabaseDocumentDistributedPooled
public ODatabaseDocumentDistributedPooled(ODatabasePoolInternal pool, OStorage storage, ODistributedPlugin distributedPlugin)
-
-
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
-
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 classODatabaseDocumentDistributed
-
reuse
public void reuse() -
realClose
public void realClose()
-