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
Abstracts the information about CDO repositories that is common to both client and server side.
A CDOCommonRepository can fire the following events:
-
CDOCommonRepository.TypeChangedEvent
after therepository type
has changed in a fail-over cluster. -
CDOCommonRepository.StateChangedEvent
after therepository state
has 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
Modifier and TypeInterfaceDescriptionstatic enum
Enumerates the possibleID generation locations
of a CDO repository.static enum
Enumerates the possibleID generation locations
of a CDO repository.static enum
static enum
Enumerates the possiblestates
of a CDO repository.static interface
Anevent
fired when thestate
of a CDO repository has changed.static enum
Enumerates the possibletypes
of a CDO repository.static interface
Anevent
fired when thetype
of a CDO repository has changed. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the creation time of this repository.getName()
Returns the name of this repository.Returns the type of CDOIDs created by the store of this repository.Returns the ID of the root resource of this repository.getState()
Returns the state of this repository.Returns the type of the store of this repository.getType()
Returns the type of this repository.getUUID()
Returns the UUID of this repository.boolean
Returnstrue
if this repository requires user authentication,false
otherwise.boolean
boolean
Returnstrue
if this repository ensures referential integrity,false
otherwise.boolean
Returnstrue
if this repository serializes commits,false
otherwise.boolean
Returnstrue
if this repository supports auditing,false
otherwise.boolean
Returnstrue
if this repository supports branching,false
otherwise.boolean
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).boolean
Returnstrue
if this repository supports login peeking,false
otherwise.boolean
Returnstrue
if this repository supports units,false
otherwise.boolean
waitWhileInitial
(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 Details
-
getName
String getName()Returns the name of this repository. -
getUUID
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
String getStoreType()Returns the type of the store of this repository. -
getObjectIDTypes
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()Returnstrue
if this repository requires user authentication,false
otherwise.- Since:
- 4.4
-
isSupportingLoginPeeks
boolean isSupportingLoginPeeks()Returnstrue
if this repository supports login peeking,false
otherwise.- Since:
- 4.22
-
isSupportingAudits
boolean isSupportingAudits()Returnstrue
if this repository supports auditing,false
otherwise. -
isSupportingBranches
boolean isSupportingBranches()Returnstrue
if this repository supports branching,false
otherwise. -
isSupportingUnits
boolean isSupportingUnits()Returnstrue
if this repository supports units,false
otherwise.- Since:
- 4.5
-
isSupportingEcore
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).Returnstrue
if this repository supports instances of Ecore,false
otherwise.- Since:
- 4.0
-
isSerializingCommits
boolean isSerializingCommits()Returnstrue
if this repository serializes commits,false
otherwise.- Since:
- 4.2
-
isEnsuringReferentialIntegrity
boolean isEnsuringReferentialIntegrity()Returnstrue
if this repository ensures referential integrity,false
otherwise.- Since:
- 4.0
-
isAuthorizingOperations
boolean isAuthorizingOperations()- Since:
- 4.15
-
waitWhileInitial
- Since:
- 4.2
-