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 ViewManagerFields inherited from class com.orientechnologies.orient.core.db.OSharedContext
executionPlanCache, functionLibrary, indexManager, liveQueryOps, liveQueryOpsV2, loaded, orientDB, PROFILER, queryStats, resources, scheduler, schema, security, sequenceLibrary, statementCache, storage, stringCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcreate(ODatabaseDocumentInternal database) protected voidvoidload(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.voidsaveDistributedConfig(ODatabaseSession session, String name, ODocument value) Methods inherited from class com.orientechnologies.orient.core.db.OSharedContext
endSession, getExecutionPlanCache, getFunctionLibrary, getIndexManager, getLastCloseTime, getLiveQueryOps, getLiveQueryOpsV2, getOrientDB, getQueryStats, getResource, getScheduler, getSchema, getSecurity, getSequenceLibrary, getSessionCount, getStatementCache, getStorage, getStringCache, setStorage, startSessionMethods inherited from class com.orientechnologies.common.listener.OListenerManger
browseListeners, getListenersCopy, registerListener, resetListeners, unregisterListener
-
Field Details
-
activeDistributedQueries
-
viewManager
-
-
Constructor Details
-
OSharedContextEmbedded
-
-
Method Details
-
init
-
load
- Specified by:
loadin classOSharedContext
-
close
public void close()- Specified by:
closein classOSharedContext
-
reload
- Specified by:
reloadin classOSharedContext
-
create
-
getActiveDistributedQueries
-
getViewManager
- Overrides:
getViewManagerin classOSharedContext
-
reInit
- Overrides:
reInitin classOSharedContext
-
loadConfig
-
saveConfig
Store a configuration with a key, without checking eventual update version.- Parameters:
session-name-value-
-
loadDistributedConfig
-
saveDistributedConfig
-