public class ODatabaseDocumentDistributedPooled extends ODatabaseDocumentDistributed
ODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.STATUS
activeQueries, componentsFactory, currentIntent, currentTx, databaseOwner, hooks, hooksByScope, inHook, initialized, localCache, metadata, microTransaction, properties, recordType, retainRecords, serializer, sharedContext, status, unmodifiableHooks, url, user
TYPE
Constructor and Description |
---|
ODatabaseDocumentDistributedPooled(ODatabasePoolInternal pool,
OStorage storage,
OHazelcastPlugin hazelcastPlugin) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes an opened database, if the database is already closed does nothing, if a transaction is
active will be rollback.
|
ODatabaseDocumentInternal |
copy()
Returns a copy of current database if it's open.
|
void |
realClose() |
void |
reuse() |
acquireLocksForTx, addCluster, addCluster, assignAndCheckCluster, beginDistributedTx, commit2pc, commit2pcLocal, createMetadata, distributedCommitV1, dropClusterInternal, dropClusterInternal, executeTaskOnNode, getActiveClusterMap, getActiveDataCenterMap, getClustersOnServer, getDistributedConfiguration, getDistributedManager, getEnterpriseEndpoint, getHaStatus, getLocalNodeName, getStorageDistributed, getViewFromCluster, init, internalBegin2pc, internalCommit, internalCommit2pc, isDistributed, isSharded, loadMetadata, loadMetadata, queryOnNode, register, removeHaServer, rollback2pc, sendDDLCommand, sendSequenceAction, sync
addBlobCluster, afterCommitOperations, afterCreateOperations, afterDeleteOperations, afterReadOperations, afterRollbackOperations, afterUpdateOperations, beforeCreateOperations, beforeDeleteOperations, beforeReadOperations, beforeUpdateOperations, beginMicroTransaction, callOnCreateListeners, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, checkSecurity, command, command, create, create, create, delete, drop, execute, execute, executeDeleteRecord, executeReadRecord, exists, getClusterName, getConfig, getStorage, getStorageInfo, installHooksEmbedded, internalCreate, internalLockRecord, internalLockRecord, internalOpen, internalOpen, internalUnlockRecord, isClosed, live, live, lock, lock, open, open, query, query, query, rebuildIndexes, recycle, replaceStorage, saveAll, set, setCustom, syncCommit, unlock
activateOnCurrentThread, backup, beforeCommitOperations, beforeRollbackOperations, begin, begin, begin, browseClass, browseClass, browseCluster, browseCluster, browseCluster, browseCluster, browseCluster, callbackHookFailure, callbackHookFinalize, callbackHooks, callbackHookSuccess, callOnCloseListeners, callOnDropListeners, callOnOpenListeners, checkClusterSecurity, checkForClusterPermissions, checkIfActive, checkOpenness, checkRecordClass, cleanOutRecord, clearDocumentTracking, closeActiveQueries, command, commit, commit, countClass, countClass, countClass, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countView, declareIntent, delete, delete, dropCluster, dropCluster, executeWithRetries, executeWithRetries, executeWithRetries, existsCluster, freeze, freeze, get, getActiveIntent, getActiveQueries, getActiveQuery, getBlobClusterIds, getClusterIdByName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getCollectionsChanges, getConfiguration, getConflictStrategy, getDatabaseOwner, getDefaultClusterId, getDefaultSerializer, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getMicroOrRegularTransaction, getName, getProperties, getProperty, getRecord, getRecordMetadata, getRecordType, getSbTreeCollectionManager, getSerializer, getSerializerFactory, getSharedContext, getSize, getStatus, getStorageVersions, getTransaction, getType, getUnderlying, getURL, getUser, incrementalBackup, init, internalClose, isActiveOnCurrentThread, isClusterEdge, isClusterVertex, isClusterView, isMVCC, isPooled, isPrefetchRecords, isRetainRecords, 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, query, queryClosed, queryStarted, rawBegin, registerHook, registerHook, release, reload, reload, reload, reload, reload, reloadUser, resetInitialization, restore, rollback, rollback, save, save, save, save, setConflictStrategy, setConflictStrategy, setCurrentDatabaseInThreadLocal, setDatabaseOwner, setDefaultClusterIdInternal, setDefaultSerializer, setDefaultTransactionMode, setInternal, setMVCC, setPrefetchRecords, setProperty, setRetainRecords, setSerializer, setStatus, setStatusInternal, setUseLightweightEdges, setUser, setValidationEnabled, swapTx, truncateCluster, unregisterHook
browseListeners, getListenersCopy, registerListener, resetListeners, unregisterListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
queryClosed, queryStarted
indexQuery, isRemote
createClassIfNotExist, createEdgeClass, createVertexClass, newEdge, newVertex
createClass, executeWithRetry, getClass, registerListener, unregisterListener
public ODatabaseDocumentDistributedPooled(ODatabasePoolInternal pool, OStorage storage, OHazelcastPlugin hazelcastPlugin)
public void close()
ODatabase
close
in interface ODatabase<ORecord>
close
in interface Closeable
close
in interface AutoCloseable
close
in class ODatabaseDocumentAbstract
public ODatabaseDocumentInternal copy()
ODatabaseDocumentEmbedded
copy
in interface ODatabaseDocumentInternal
copy
in class ODatabaseDocumentDistributed
public void reuse()
public void realClose()
Copyright © 2009–2020 OrientDB. All rights reserved.