Package org.eclipse.emf.cdo.server
Interface IRepository
- All Superinterfaces:
CDOCommonRepository
,CDOTimeProvider
,IAdaptable
,org.eclipse.net4j.util.container.IContainer<Object>
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.properties.IPropertiesContainer
,IQueryHandlerProvider
- All Known Subinterfaces:
InternalFailoverParticipant
,InternalRepository
,InternalSynchronizableRepository
,ISynchronizableRepository
public interface IRepository
extends CDOCommonRepository, IQueryHandlerProvider, org.eclipse.net4j.util.properties.IPropertiesContainer, org.eclipse.net4j.util.container.IContainer<Object>, org.eclipse.net4j.util.lifecycle.ILifecycle
A CDO repository.
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A marker interface to indicate valid arguments toaddHandler(Handler)
andremoveHandler(Handler)
.static interface
Contains symbolic constants that specifiy valid keys ofrepository properties
.static interface
Provides a way to handle revisions that are to be sent to the client.static interface
Provides a way to handle commits that are received from a client.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonRepository
CDOCommonRepository.CommitInfoStorage, CDOCommonRepository.IDGenerationLocation, CDOCommonRepository.ListOrdering, CDOCommonRepository.State, CDOCommonRepository.StateChangedEvent, CDOCommonRepository.Type, CDOCommonRepository.TypeChangedEvent
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommitInfoHandler
(CDOCommitInfoHandler handler) Deprecated.void
addHandler
(IRepository.Handler handler) Deprecated.As of 4.2 callCDOCommitInfoProvider.getCommitInfoHandlers()
long
Returns the time stamp of the last commit operation.Deprecated.As of 4.1 usegetLockingManager()
.Returns the EMFpackage registry
that is used by this repository.getStore()
void
Deprecated.void
removeHandler
(IRepository.Handler handler) void
setInitialPackages
(EPackage... initialPackages) void
validateTimeStamp
(long timeStamp) Validates the given timeStamp against the repository time.long
waitForCommit
(long timeout) Blocks the calling thread until the next commit operation has succeeded and returns the last (highest) commit time stamp.Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonRepository
getCommitInfoStorage, getCreationTime, getIDGenerationLocation, getName, getObjectIDTypes, getRootResourceID, getState, getStoreType, getType, getUUID, isAuthenticating, isAuthorizingOperations, isEnsuringReferentialIntegrity, isSerializingCommits, isSupportingAudits, isSupportingBranches, isSupportingEcore, isSupportingLoginPeeks, isSupportingUnits, waitWhileInitial
Methods inherited from interface org.eclipse.emf.cdo.common.util.CDOTimeProvider
getTimeStamp
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
properties
Methods inherited from interface org.eclipse.emf.cdo.server.IQueryHandlerProvider
getQueryHandler
-
Field Details
-
SYSTEM_USER_ID
- Since:
- 3.0
- See Also:
-
-
Method Details
-
getStore
IStore getStore() -
getProperties
-
getPackageRegistry
CDOPackageRegistry getPackageRegistry()Returns the EMFpackage registry
that is used by this repository.- Since:
- 2.0
-
getBranchManager
CDOBranchManager getBranchManager()- Since:
- 3.0
-
getRevisionManager
CDORevisionManager getRevisionManager()- Since:
- 3.0
-
getCommitInfoManager
CDOCommitInfoManager getCommitInfoManager()- Since:
- 4.2
-
getCommitConflictResolver
ICommitConflictResolver getCommitConflictResolver()- Since:
- 4.8
-
getSessionManager
ISessionManager getSessionManager() -
getUnitManager
IUnitManager getUnitManager()- Since:
- 4.5
-
getLockManager
Deprecated.As of 4.1 usegetLockingManager()
.- Since:
- 4.0
-
getLockingManager
ILockingManager getLockingManager()- Since:
- 4.1
-
getProtector
IRepositoryProtector getProtector()- Since:
- 4.20
-
getQueryHandlerProvider
IQueryHandlerProvider getQueryHandlerProvider()- Since:
- 2.0
-
getLastCommitTimeStamp
long getLastCommitTimeStamp()Returns the time stamp of the last commit operation.- Since:
- 3.0
-
waitForCommit
long waitForCommit(long timeout) Blocks the calling thread until the next commit operation has succeeded and returns the last (highest) commit time stamp.- Since:
- 3.0
-
validateTimeStamp
Validates the given timeStamp against the repository time.- Throws:
IllegalArgumentException
- if the given timeStamp is less than the repository creation time or greater than the current repository time.- Since:
- 2.0
-
getCommitInfoHandlers
Deprecated.As of 4.2 callCDOCommitInfoProvider.getCommitInfoHandlers()
- Since:
- 4.1
-
addCommitInfoHandler
Deprecated.- Since:
- 4.0
-
removeCommitInfoHandler
Deprecated.- Since:
- 4.0
-
getHandlers
Set<IRepository.Handler> getHandlers()- Since:
- 4.1
-
addHandler
- Since:
- 2.0
-
removeHandler
- Since:
- 2.0
-
setInitialPackages
- Since:
- 4.0
-
CDOCommitInfoProvider.addCommitInfoHandler(CDOCommitInfoHandler)