Interface ILissomeStore
-
- All Superinterfaces:
IStore,IStore.CanHandleClientAssignedIDs
public interface ILissomeStore extends IStore, IStore.CanHandleClientAssignedIDs
The main entry point to the API of CDO's proprietary Lissome store.- 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 interfaceILissomeStore.PropsContains symbolic constants that specifiy valid keys ofLissome store properties.-
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStore
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ILissomeStoreAccessorgetReader(ISession session)Returns a reader that can be used to read from this store in the context of the given session.ILissomeStoreAccessorgetWriter(ITransaction transaction)Returns a writer that can be used to write to this store in the context of the given view.-
Methods inherited from interface org.eclipse.emf.cdo.server.IStore
createObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, isFirstStart, removePersistentProperties, setPersistentProperties
-
-
-
-
Method Detail
-
getReader
ILissomeStoreAccessor getReader(ISession session)
Description copied from interface:IStoreReturns a reader that can be used to read from this store in the context of the given session.- Specified by:
getReaderin interfaceIStore- Parameters:
session- The session that should be used as a context for read access ornull. 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 aLifecycleEventAdapterwith it to intercept cleanup on session close. Note however that the session can benull, 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.
-
getWriter
ILissomeStoreAccessor getWriter(ITransaction transaction)
Description copied from interface:IStoreReturns 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.- Specified by:
getWriterin interfaceIStore- 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 aLifecycleEventAdapterwith 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.
-
-