Package org.eclipse.emf.cdo.common
Interface CDOCommonRepository
-
- All Superinterfaces:
CDOTimeProvider,IAdaptable
- All Known Subinterfaces:
CDOAdminClientRepository,CDOAdminRepository,CDORepositoryInfo,InternalFailoverParticipant,InternalRepository,InternalSynchronizableRepository,IRepository,ISynchronizableRepository
- All Known Implementing Classes:
CDOSessionProtocol.OpenSessionResult
public interface CDOCommonRepository extends CDOTimeProvider, IAdaptable
Abstracts the information about CDO repositories that is common to both client and server side.A CDOCommonRepository can fire the following events:
-
CDOCommonRepository.TypeChangedEventafter therepository typehas changed in a fail-over cluster. -
CDOCommonRepository.StateChangedEventafter therepository statehas changed in a replicating deployment.
- Since:
- 3.0
- 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 Classes Modifier and Type Interface Description static classCDOCommonRepository.CommitInfoStorageEnumerates the possibleID generation locationsof a CDO repository.static classCDOCommonRepository.IDGenerationLocationEnumerates the possibleID generation locationsof a CDO repository.static classCDOCommonRepository.ListOrderingstatic classCDOCommonRepository.StateEnumerates the possiblestatesof a CDO repository.static interfaceCDOCommonRepository.StateChangedEventAneventfired when thestateof a CDO repository has changed.static classCDOCommonRepository.TypeEnumerates the possibletypesof a CDO repository.static interfaceCDOCommonRepository.TypeChangedEventAneventfired when thetypeof a CDO repository has changed.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CDOCommonRepository.CommitInfoStoragegetCommitInfoStorage()longgetCreationTime()Returns the creation time of this repository.CDOCommonRepository.IDGenerationLocationgetIDGenerationLocation()java.lang.StringgetName()Returns the name of this repository.java.util.Set<CDOID.ObjectType>getObjectIDTypes()Returns the type of CDOIDs created by the store of this repository.CDOIDgetRootResourceID()Returns the ID of the root resource of this repository.CDOCommonRepository.StategetState()Returns the state of this repository.java.lang.StringgetStoreType()Returns the type of the store of this repository.CDOCommonRepository.TypegetType()Returns the type of this repository.java.lang.StringgetUUID()Returns the UUID of this repository.booleanisAuthenticating()Returnstrueif this repository requires user authentication,falseotherwise.booleanisAuthorizingOperations()booleanisEnsuringReferentialIntegrity()Returnstrueif this repository ensures referential integrity,falseotherwise.booleanisSerializingCommits()Returnstrueif this repository serializes commits,falseotherwise.booleanisSupportingAudits()Returnstrueif this repository supports auditing,falseotherwise.booleanisSupportingBranches()Returnstrueif this repository supports branching,falseotherwise.booleanisSupportingEcore()Deprecated.As of 4.2 instances of Ecore are always supported (on demand).booleanisSupportingUnits()Returnstrueif this repository supports units,falseotherwise.booleanwaitWhileInitial(IProgressMonitor monitor)-
Methods inherited from interface org.eclipse.emf.cdo.common.util.CDOTimeProvider
getTimeStamp
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of this repository.
-
getUUID
java.lang.String getUUID()
Returns the UUID of this repository.
-
getType
CDOCommonRepository.Type getType()
Returns the type of this repository.
-
getState
CDOCommonRepository.State getState()
Returns the state of this repository.
-
getCreationTime
long getCreationTime()
Returns the creation time of this repository.
-
getStoreType
java.lang.String getStoreType()
Returns the type of the store of this repository.
-
getObjectIDTypes
java.util.Set<CDOID.ObjectType> getObjectIDTypes()
Returns the type of CDOIDs created by the store of this repository.
-
getIDGenerationLocation
CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()
- Since:
- 4.1
-
getCommitInfoStorage
CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()
- Since:
- 4.6
-
getRootResourceID
CDOID getRootResourceID()
Returns the ID of the root resource of this repository.
-
isAuthenticating
boolean isAuthenticating()
Returnstrueif this repository requires user authentication,falseotherwise.- Since:
- 4.4
-
isSupportingAudits
boolean isSupportingAudits()
Returnstrueif this repository supports auditing,falseotherwise.
-
isSupportingBranches
boolean isSupportingBranches()
Returnstrueif this repository supports branching,falseotherwise.
-
isSupportingUnits
boolean isSupportingUnits()
Returnstrueif this repository supports units,falseotherwise.- Since:
- 4.5
-
isSupportingEcore
@Deprecated boolean isSupportingEcore()
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).Returnstrueif this repository supports instances of Ecore,falseotherwise.- Since:
- 4.0
-
isSerializingCommits
boolean isSerializingCommits()
Returnstrueif this repository serializes commits,falseotherwise.- Since:
- 4.2
-
isEnsuringReferentialIntegrity
boolean isEnsuringReferentialIntegrity()
Returnstrueif this repository ensures referential integrity,falseotherwise.- Since:
- 4.0
-
isAuthorizingOperations
boolean isAuthorizingOperations()
- Since:
- 4.15
-
waitWhileInitial
boolean waitWhileInitial(IProgressMonitor monitor)
- Since:
- 4.2
-
-