public interface ODatabaseInternal<T> extends ODatabase<T>
ODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.STATUS
Modifier and Type | Method and Description |
---|---|
default Map<String,Set<String>> |
getActiveClusterMap()
returns the cluster map for current deploy.
|
default Map<String,Set<String>> |
getActiveDataCenterMap()
returns the data center map for current deploy.
|
ODatabaseInternal<?> |
getDatabaseOwner()
Returns the database owner.
|
default OEnterpriseEndpoint |
getEnterpriseEndpoint() |
default String |
getLocalNodeName()
returns the cluster map for current deploy.
|
OBasicTransaction |
getMicroOrRegularTransaction()
The active implicit micro-transaction or active/inactive regular transaction.
|
OSharedContext |
getSharedContext() |
OStorage |
getStorage()
Returns the underlying storage implementation.
|
OStorageInfo |
getStorageInfo() |
<DB extends ODatabase> |
getUnderlying()
Return the underlying database.
|
default boolean |
isSharded()
checks the cluster map and tells whether this is a sharded database (ie.
|
<DB extends ODatabase> |
open(OToken iToken)
Deprecated.
|
void |
replaceStorage(OStorage iNewStorage)
Internal only: replace the storage with a new one.
|
void |
resetInitialization() |
ODatabaseInternal<?> |
setDatabaseOwner(ODatabaseInternal<?> iOwner)
Internal.
|
void |
setInternal(ODatabase.ATTRIBUTES attribute,
Object iValue)
Internal method.
|
void |
setUser(OSecurityUser user)
Set user for current database instance.
|
activateOnCurrentThread, addBlobCluster, addCluster, addCluster, begin, begin, begin, close, command, command, command, commit, commit, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, create, create, create, createClass, declareIntent, delete, delete, delete, drop, dropCluster, dropCluster, execute, execute, executeWithRetry, exists, existsCluster, freeze, freeze, get, getActiveIntent, getBlobClusterIds, getClass, getClusterIdByName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getConfiguration, getConflictStrategy, getDefaultClusterId, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getName, getProperties, getProperty, getRecordMetadata, getSize, getStatus, getTransaction, getType, getURL, getUser, incrementalBackup, isActiveOnCurrentThread, isClosed, isMVCC, live, live, load, load, load, load, load, load, lock, lock, newInstance, open, query, query, query, registerHook, registerHook, registerListener, release, reload, reload, reload, rollback, rollback, save, save, save, save, set, setConflictStrategy, setConflictStrategy, setMVCC, setProperty, setStatus, truncateCluster, unlock, unregisterHook, unregisterListener
backup, restore
OStorage getStorage()
OStorage
OStorageInfo getStorageInfo()
void setUser(OSecurityUser user)
void replaceStorage(OStorage iNewStorage)
iNewStorage
- The new storage to use. Usually it's a wrapped instance of the current
cluster.void resetInitialization()
ODatabaseInternal<?> getDatabaseOwner()
ODatabaseInternal<?> setDatabaseOwner(ODatabaseInternal<?> iOwner)
<DB extends ODatabase> DB getUnderlying()
void setInternal(ODatabase.ATTRIBUTES attribute, Object iValue)
@Deprecated <DB extends ODatabase> DB open(OToken iToken)
iToken
- Authentication tokenOSharedContext getSharedContext()
OBasicTransaction getMicroOrRegularTransaction()
default String getLocalNodeName()
default Map<String,Set<String>> getActiveClusterMap()
default Map<String,Set<String>> getActiveDataCenterMap()
default boolean isSharded()
default OEnterpriseEndpoint getEnterpriseEndpoint()
Copyright © 2009–2020 OrientDB. All rights reserved.