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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA marker interface to indicate valid arguments toaddHandler(Handler)andremoveHandler(Handler).static interfaceContains symbolic constants that specifiy valid keys ofrepository properties.static interfaceProvides a way to handle revisions that are to be sent to the client.static interfaceProvides 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.TypeChangedEventNested 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.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommitInfoHandler(CDOCommitInfoHandler handler) Deprecated.voidaddHandler(IRepository.Handler handler) Deprecated.As of 4.2 callCDOCommitInfoProvider.getCommitInfoHandlers()longReturns the time stamp of the last commit operation.Deprecated.As of 4.1 usegetLockingManager().Returns the EMFpackage registrythat is used by this repository.getStore()voidDeprecated.voidremoveHandler(IRepository.Handler handler) voidsetInitialPackages(EPackage... initialPackages) voidvalidateTimeStamp(long timeStamp) Validates the given timeStamp against the repository time.longwaitForCommit(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, waitWhileInitialMethods inherited from interface org.eclipse.emf.cdo.common.util.CDOTimeProvider
getTimeStampMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
propertiesMethods 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 registrythat 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)