Package org.eclipse.emf.cdo.session
Schnittstelle CDOSession.Options
- Alle Superschnittstellen:
- CDOCommonSession.Options,- org.eclipse.net4j.util.event.INotifier,- org.eclipse.net4j.util.options.IOptions
- Alle bekannten Unterschnittstellen:
- CDONet4jSession.Options,- CDOSession.Options
- Umschließende Schnittstelle:
- CDOSession
Encapsulates a set of notifying 
session configuration options.
 The session options can fire the following events:
-  CDOSession.Options.GeneratedPackageEmulationEventafter thegenerated package emulation modehas changed.
-  CDOSession.Options.CollectionLoadingPolicyEventafter thecollection loading policyhas changed.
-  CDOSession.Options.LobCacheEventafter thelarge object cachehas changed.
- Autor:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
- 
Verschachtelte Klassen - ÜbersichtVerschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfacestatic interfacestatic interfaceAnoptions eventfired when thegenerated package emulation enabledoption of asessionhas changed.static interfacestatic interfacestatic interfaceVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.common.CDOCommonSession.OptionsCDOCommonSession.Options.LockNotificationEvent, CDOCommonSession.Options.LockNotificationMode, CDOCommonSession.Options.LockNotificationModeEvent, CDOCommonSession.Options.PassiveUpdateEvent, CDOCommonSession.Options.PassiveUpdateModeVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifierorg.eclipse.net4j.util.event.INotifier.INotifier2
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungThecollection loading policyof thissessioncontrols how a list gets populated.Returns thesessionof this options object.Returns thelarge object cachecurrently being used by this session.Returns thepermission updatercurrently being used by this session.intbooleanbooleanvoidSets thecollection loadingto be used by this session.voidsetDelegableViewLockEnabled(boolean delegableViewLockEnabled) This method is useful, for example, if EMFadapterscallDisplay.syncExec()in response to CDO notifications.voidsetGeneratedPackageEmulationEnabled(boolean generatedPackageEmulationEnabled) voidsetLobCache(CDOLobStore lobCache) Sets thelarge object cacheto be used by this session.voidsetPermissionUpdater(CDOPermissionUpdater permissionUpdater) Sets thepermission updaterto be used by this session.voidsetPrefetchSendMaxRevisionKeys(int prefetchSendMaxRevisionKeys) Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.CDOCommonSession.OptionsgetLockNotificationMode, getPassiveUpdateMode, isLockNotificationEnabled, isPassiveUpdateEnabled, setLockNotificationEnabled, setLockNotificationMode, setPassiveUpdateEnabled, setPassiveUpdateModeVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifieraddListener, getListeners, hasListeners, removeListener
- 
Methodendetails- 
getContainerCDOSession getContainer()Returns thesessionof this options object.- Angegeben von:
- getContainerin Schnittstelle- CDOCommonSession.Options
- Angegeben von:
- getContainerin Schnittstelle- org.eclipse.net4j.util.options.IOptions
- Seit:
- 4.0
 
- 
isGeneratedPackageEmulationEnabledboolean isGeneratedPackageEmulationEnabled()
- 
setGeneratedPackageEmulationEnabledvoid setGeneratedPackageEmulationEnabled(boolean generatedPackageEmulationEnabled) 
- 
getCollectionLoadingPolicyCDOCollectionLoadingPolicy getCollectionLoadingPolicy()Thecollection loading policyof thissessioncontrols how a list gets populated. By default, when an object is fetched, all its elements are filled with the proper values.This could be time-consuming, especially if the reference list does not need to be accessed. In CDO it is possible to partially load collections. The default list implementation that is shipped with CDO makes a distinction between the two following situations: - How many CDOIDs to fill when an object is loaded for the first time;
- Which elements to fill with CDOIDs when the accessed element is not yet filled.
 CDOUtil.createCollectionLoadingPolicy(initialElements, subsequentElements);The user can also provide its own implementation of the CDOCollectionLoadingPolicy interface. 
- 
setCollectionLoadingPolicySets thecollection loadingto be used by this session.
- 
getLobCacheCDOLobStore getLobCache()Returns thelarge object cachecurrently being used by this session.- Seit:
- 4.0
 
- 
setLobCacheSets thelarge object cacheto be used by this session.- Seit:
- 4.0
 
- 
getPermissionUpdaterCDOPermissionUpdater getPermissionUpdater()Returns thepermission updatercurrently being used by this session.- Seit:
- 4.3
 
- 
setPermissionUpdaterSets thepermission updaterto be used by this session.- Seit:
- 4.3
 
- 
isDelegableViewLockEnabledboolean isDelegableViewLockEnabled()- Seit:
- 4.5
 
- 
setDelegableViewLockEnabledvoid setDelegableViewLockEnabled(boolean delegableViewLockEnabled) This method is useful, for example, if EMFadapterscallDisplay.syncExec()in response to CDO notifications. In these cases aDelegableReentrantLockcan be injected into the newview, which does not deadlock when both CDO's invalidation thread and the display thread acquire the view lock.- Seit:
- 4.5
- Siehe auch:
 
- 
getPrefetchSendMaxRevisionKeysint getPrefetchSendMaxRevisionKeys()- Seit:
- 4.26
 
- 
setPrefetchSendMaxRevisionKeysvoid setPrefetchSendMaxRevisionKeys(int prefetchSendMaxRevisionKeys) - Seit:
- 4.26
 
 
-