public interface CDOCommonRepository extends CDOTimeProvider, IAdaptable
A CDOCommonRepository can fire the following events:
CDOCommonRepository.TypeChangedEvent
after the repository type
has changed in a fail-over cluster.
CDOCommonRepository.StateChangedEvent
after the repository state
has changed in a replicating deployment.
CDOCommonRepository.IDGenerationLocation
, CDOCommonRepository.Type
, CDOCommonRepository.State
CDOCommonRepository.TypeChangedEvent
- - fires, CDOCommonRepository.StateChangedEvent
- - firesModifier and Type | Interface and Description |
---|---|
static class |
CDOCommonRepository.CommitInfoStorage
Enumerates the possible
ID generation locations of a CDO
repository. |
static class |
CDOCommonRepository.IDGenerationLocation
Enumerates the possible
ID generation locations of a CDO
repository. |
static class |
CDOCommonRepository.State
Enumerates the possible
states of a CDO repository. |
static interface |
CDOCommonRepository.StateChangedEvent
|
static class |
CDOCommonRepository.Type
Enumerates the possible
types of a CDO repository. |
static interface |
CDOCommonRepository.TypeChangedEvent
|
Modifier and Type | Method and Description |
---|---|
CDOCommonRepository.CommitInfoStorage |
getCommitInfoStorage() |
long |
getCreationTime()
Returns the creation time of this repository.
|
CDOCommonRepository.IDGenerationLocation |
getIDGenerationLocation() |
String |
getName()
Returns the name of this repository.
|
Set<CDOID.ObjectType> |
getObjectIDTypes()
Returns the type of CDOIDs created by the store of this repository.
|
CDOID |
getRootResourceID()
Returns the ID of the root resource of this repository.
|
CDOCommonRepository.State |
getState()
Returns the state of this repository.
|
String |
getStoreType()
Returns the type of the store of this repository.
|
CDOCommonRepository.Type |
getType()
Returns the type of this repository.
|
String |
getUUID()
Returns the UUID of this repository.
|
boolean |
isAuthenticating()
Returns
true if this repository requires user authentication, false otherwise. |
boolean |
isEnsuringReferentialIntegrity()
Returns
true if this repository ensures referential integrity, false otherwise. |
boolean |
isSerializingCommits()
Returns
true if this repository serializes commits, false otherwise. |
boolean |
isSupportingAudits()
Returns
true if this repository supports auditing, false otherwise. |
boolean |
isSupportingBranches()
Returns
true if this repository supports branching, false otherwise. |
boolean |
isSupportingEcore()
Deprecated.
As of 4.2 instances of Ecore are always supported (on demand).
|
boolean |
isSupportingUnits()
Returns
true if this repository supports units, false otherwise. |
boolean |
waitWhileInitial(IProgressMonitor monitor) |
getTimeStamp
getAdapter
String getName()
String getUUID()
CDOCommonRepository.Type getType()
CDOCommonRepository.State getState()
long getCreationTime()
String getStoreType()
Set<CDOID.ObjectType> getObjectIDTypes()
CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()
CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()
CDOID getRootResourceID()
boolean isAuthenticating()
true
if this repository requires user authentication, false
otherwise.boolean isSupportingAudits()
true
if this repository supports auditing, false
otherwise.boolean isSupportingBranches()
true
if this repository supports branching, false
otherwise.boolean isSupportingUnits()
true
if this repository supports units, false
otherwise.@Deprecated boolean isSupportingEcore()
true
if this repository supports instances of Ecore, false
otherwise.boolean isSerializingCommits()
true
if this repository serializes commits, false
otherwise.boolean isEnsuringReferentialIntegrity()
true
if this repository ensures referential integrity, false
otherwise.boolean waitWhileInitial(IProgressMonitor monitor)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html