Package org.eclipse.emf.cdo.common
Schnittstelle CDOCommonSession.Options
- Alle Superschnittstellen:
org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.options.IOptions
- Alle bekannten Unterschnittstellen:
CDONet4jSession.Options
,CDOSession.Options
,CDOSession.Options
,InternalSession
- Umschließende Schnittstelle:
CDOCommonSession
public static interface CDOCommonSession.Options
extends org.eclipse.net4j.util.options.IOptions
Encapsulates the configuration options of CDO sessions that are common to both client and server side.
- 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 - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interface
Anoptions event
fired when thelock notification mode
of a CDO session has changed.static enum
Enumerates the possiblelock notification modes
of a CDO session.static interface
Anoptions event
fired when thelock notification mode
of a CDO session has changed.static interface
Anoptions event
fired when thepassive update mode
of a CDO session has changed.static enum
Enumerates the possiblepassive update modes
of a CDO session.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns thesession
of this options object.boolean
boolean
void
setLockNotificationEnabled
(boolean enabled) void
void
setPassiveUpdateEnabled
(boolean enabled) Specifies whether objects will be invalidated due by other users changes.void
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Methodendetails
-
getContainer
CDOCommonSession getContainer()Returns thesession
of this options object.- Angegeben von:
getContainer
in Schnittstelleorg.eclipse.net4j.util.options.IOptions
- Seit:
- 4.0
-
isPassiveUpdateEnabled
boolean isPassiveUpdateEnabled() -
setPassiveUpdateEnabled
void setPassiveUpdateEnabled(boolean enabled) Specifies whether objects will be invalidated due by other users changes.Example:
session.setPassiveUpdateEnabled(false);
By default this property is enabled. If this property is disabled the latest versions of objects can still be obtained by calling refresh().
Passive update can be disabled in cases where more performance is needed and/or more control over when objects will be refreshed.
When enabled again, a refresh will be automatically performed to be in sync with the server.
- Seit:
- 3.0
-
getPassiveUpdateMode
CDOCommonSession.Options.PassiveUpdateMode getPassiveUpdateMode()- Seit:
- 3.0
-
setPassiveUpdateMode
- Seit:
- 3.0
-
isLockNotificationEnabled
boolean isLockNotificationEnabled()- Seit:
- 4.15
-
setLockNotificationEnabled
void setLockNotificationEnabled(boolean enabled) - Seit:
- 4.15
-
getLockNotificationMode
CDOCommonSession.Options.LockNotificationMode getLockNotificationMode()- Seit:
- 4.1
-
setLockNotificationMode
- Seit:
- 4.1
-