Class OSharedContextEmbedded
java.lang.Object
com.orientechnologies.common.listener.OListenerManger<OMetadataUpdateListener>
com.orientechnologies.orient.core.db.OSharedContext
com.orientechnologies.orient.core.db.OSharedContextEmbedded
- Direct Known Subclasses:
OSharedContextDistributed
Created by tglman on 13/06/17.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String, DistributedQueryContext> protected OExecutionPlanCacheprotected OFunctionLibraryImplprotected OIndexManagerAbstractprotected OLiveQueryHook.OLiveQueryOpsprotected OLiveQueryHookV2.OLiveQueryOpsprotected booleanprotected OrientDBEmbeddedprotected static final OProfilerprotected OQueryStatsprotected OSchedulerImplprotected OSchemaSharedprotected OSecurityInternalprotected OSequenceLibraryImplprotected OStatementCacheprotected OStorageprotected OStringCacheprotected ODistributedSynchronizedSequenceprotected ViewManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcreate(ODatabaseDocumentInternal database) voidlong<T> TgetResource(String name, Callable<T> factory) intprotected voidprotected voidprotected voidinternalCreate(ODatabaseDocumentInternal database) protected voidinternalLoad(ODatabaseDocumentInternal database) protected voidinternalReload(ODatabaseDocumentInternal database) booleanisLoaded()voidload(ODatabaseDocumentInternal database) loadConfig(ODatabaseSession session, String name) loadDistributedConfig(ODatabaseSession session) voidreInit(OStorage storage, ODatabaseDocumentInternal database) voidreload(ODatabaseDocumentInternal database) voidsaveConfig(ODatabaseSession session, String name, ODocument value) Store a configuration with a key, without checking eventual update version.voidvoidunload()Methods inherited from class com.orientechnologies.common.listener.OListenerManger
browseListeners, getListenersCopy, registerListener, resetListeners, unregisterListener
-
Field Details
-
PROFILER
-
orientDB
-
storage
-
schema
-
security
-
indexManager
-
functionLibrary
-
scheduler
-
sequenceLibrary
-
liveQueryOps
-
liveQueryOpsV2
-
statementCache
-
executionPlanCache
-
queryStats
-
loaded
protected volatile boolean loaded -
resources
-
stringCache
-
activeDistributedQueries
-
viewManager
-
transactionSequence
-
-
Constructor Details
-
OSharedContextEmbedded
-
-
Method Details
-
init
-
load
- Specified by:
loadin classOSharedContext
-
internalLoad
-
close
public void close()- Specified by:
closein classOSharedContext
-
internalClose
protected void internalClose() -
unload
public void unload()- Specified by:
unloadin classOSharedContext
-
internalUnload
-
reload
- Specified by:
reloadin classOSharedContext
-
internalReload
-
create
-
internalCreate
-
getActiveDistributedQueries
-
getViewManager
-
reInit
- Specified by:
reInitin classOSharedContext
-
loadConfig
-
saveConfig
Store a configuration with a key, without checking eventual update version.- Parameters:
session-name-value-
-
loadDistributedConfig
-
getTransactionSequence
-
isLoaded
public boolean isLoaded()- Specified by:
isLoadedin classOSharedContext
-
getSchema
- Specified by:
getSchemain classOSharedContext
-
getSecurity
- Specified by:
getSecurityin classOSharedContext
-
getIndexManager
- Specified by:
getIndexManagerin classOSharedContext
-
getFunctionLibrary
- Specified by:
getFunctionLibraryin classOSharedContext
-
getScheduler
- Specified by:
getSchedulerin classOSharedContext
-
getSequenceLibrary
- Specified by:
getSequenceLibraryin classOSharedContext
-
getLiveQueryOps
-
getLiveQueryOpsV2
-
getStatementCache
-
getExecutionPlanCache
-
getQueryStats
-
getStorage
- Specified by:
getStoragein classOSharedContext
-
getOrientDB
- Specified by:
getOrientDBin classOSharedContext
-
getResource
- Specified by:
getResourcein classOSharedContext
-
getStringCache
- Specified by:
getStringCachein classOSharedContext
-
startSession
public void startSession()- Specified by:
startSessionin classOSharedContext
-
endSession
public void endSession()- Specified by:
endSessionin classOSharedContext
-
getSessionCount
public int getSessionCount()- Specified by:
getSessionCountin classOSharedContext
-
getLastCloseTime
public long getLastCloseTime()- Specified by:
getLastCloseTimein classOSharedContext
-