Package org.eclipse.emf.cdo.server
Interface IStore
- 
- All Known Subinterfaces:
- IDBStore,- ILissomeStore,- IMEMStore,- IMEMStore,- IMongoDBStore,- InternalStore
 - All Known Implementing Classes:
- LongIDStore,- Store
 
 public interface IStoreRepresents the physical data storage back-end of a CDOrepository, such as a database or a file system folder.- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceIStore.CanHandleClientAssignedIDsstatic classIStore.ChangeFormatEnumerates the possible data formats astorecan accept for commit operations.static classIStore.RevisionParallelismEnumerates the possible branching options astorecan accept.static classIStore.RevisionTemporalityEnumerates the possible history recording options astorecan accept.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOIDcreateObjectID(java.lang.String val)longgetCreationTime()Returns the store creation time.org.eclipse.net4j.util.om.monitor.ProgressDistributorgetIndicatingCommitDistributor()intgetLastBranchID()Returns the id of the last branch that has been created in this store.longgetLastCommitTime()Returns the time stamp of the last successful commit operation.intgetLastLocalBranchID()Returns the id of the last local branch that has been created in this store.longgetLastNonLocalCommitTime()Returns the time stamp of the last successful commit operation to a non-localbranch.java.util.Set<CDOID.ObjectType>getObjectIDTypes()java.util.Map<java.lang.String,java.lang.String>getPersistentProperties(java.util.Set<java.lang.String> names)Returns a map filled with the property entries for the requested propertynamesif names is notnulland notempty, all existing property entries otherwise.IStoreAccessorgetReader(ISession session)Returns a reader that can be used to read from this store in the context of the given session.IRepositorygetRepository()IStore.RevisionParallelismgetRevisionParallelism()IStore.RevisionTemporalitygetRevisionTemporality()java.util.Set<IStore.ChangeFormat>getSupportedChangeFormats()java.util.Set<IStore.RevisionParallelism>getSupportedRevisionParallelisms()java.util.Set<IStore.RevisionTemporality>getSupportedRevisionTemporalities()java.lang.StringgetType()IStoreAccessorgetWriter(ITransaction transaction)Returns a writer that can be used to write to this store in the context of the given view.booleanisFirstStart()Returnstrueif this store was activated for the first time,falseotherwise.voidremovePersistentProperties(java.util.Set<java.lang.String> names)voidsetPersistentProperties(java.util.Map<java.lang.String,java.lang.String> properties)
 
- 
- 
- 
Method Detail- 
getRepositoryIRepository getRepository() - Since:
- 2.0
 
 - 
getTypejava.lang.String getType() - Since:
- 2.0
 
 - 
getObjectIDTypesjava.util.Set<CDOID.ObjectType> getObjectIDTypes() - Since:
- 3.0
 
 - 
createObjectIDCDOID createObjectID(java.lang.String val) - Since:
- 4.0
 
 - 
getSupportedChangeFormatsjava.util.Set<IStore.ChangeFormat> getSupportedChangeFormats() - Since:
- 2.0
 
 - 
getSupportedRevisionTemporalitiesjava.util.Set<IStore.RevisionTemporality> getSupportedRevisionTemporalities() - Since:
- 2.0
 
 - 
getSupportedRevisionParallelismsjava.util.Set<IStore.RevisionParallelism> getSupportedRevisionParallelisms() - Since:
- 2.0
 
 - 
getRevisionTemporalityIStore.RevisionTemporality getRevisionTemporality() - Since:
- 2.0
 
 - 
getRevisionParallelismIStore.RevisionParallelism getRevisionParallelism() - Since:
- 2.0
 
 - 
isFirstStartboolean isFirstStart() Returnstrueif this store was activated for the first time,falseotherwise.- Since:
- 4.0
 
 - 
getCreationTimelong getCreationTime() Returns the store creation time.- Since:
- 2.0
 
 - 
getLastBranchIDint getLastBranchID() Returns the id of the last branch that has been created in this store.- Since:
- 3.0
 
 - 
getLastLocalBranchIDint getLastLocalBranchID() Returns the id of the last local branch that has been created in this store.- Since:
- 3.0
 
 - 
getLastCommitTimelong getLastCommitTime() Returns the time stamp of the last successful commit operation.- Since:
- 3.0
 
 - 
getLastNonLocalCommitTimelong getLastNonLocalCommitTime() Returns the time stamp of the last successful commit operation to a non-localbranch.- Since:
- 3.0
 
 - 
getPersistentPropertiesjava.util.Map<java.lang.String,java.lang.String> getPersistentProperties(java.util.Set<java.lang.String> names) Returns a map filled with the property entries for the requested propertynamesif names is notnulland notempty, all existing property entries otherwise.- Since:
- 4.0
 
 - 
setPersistentPropertiesvoid setPersistentProperties(java.util.Map<java.lang.String,java.lang.String> properties) - Since:
- 4.0
 
 - 
removePersistentPropertiesvoid removePersistentProperties(java.util.Set<java.lang.String> names) - Since:
- 4.0
 
 - 
getReaderIStoreAccessor getReader(ISession session) Returns a reader that can be used to read from this store in the context of the given session.- Parameters:
- session- The session that should be used as a context for read access or- null. The store implementor is free to interpret and use the session in a manner suitable for him or ignore it at all. It is meant only as a hint. Implementor can use it as a key into a cache and/or register a- LifecycleEventAdapterwith it to intercept cleanup on session close. Note however that the session can be- null, for example during startup of the server while the repositories are initialized but before any user session has been opened.
- Returns:
- a reader that can be used to read from this store in the context of the given session, never
         null.
- Since:
- 2.0
 
 - 
getWriterIStoreAccessor getWriter(ITransaction transaction) Returns a writer that can be used to write to this store in the context of the given view. The given view is always marked as a transaction.- Parameters:
- transaction- The view that must be used as a context for write access. The store implementor is free to interpret and use the view in a manner suitable for him or ignore it at all. It is meant only as a hint. Implementor can use it as a key into a cache and/or register a- LifecycleEventAdapterwith it to intercept cleanup on view close.
- Returns:
- a writer that can be used to write to this store in the context of the given view, never null.
- Since:
- 2.0
 
 - 
getIndicatingCommitDistributororg.eclipse.net4j.util.om.monitor.ProgressDistributor getIndicatingCommitDistributor() - Since:
- 2.0
 
 
- 
 
-