public interface ILissomeStore extends IStore, IStore.CanHandleClientAssignedIDs
Modifier and Type | Interface and Description |
---|---|
static interface |
ILissomeStore.Props
Contains symbolic constants that specifiy valid keys of
Lissome store properties . |
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality
Modifier and Type | Method and Description |
---|---|
ILissomeStoreAccessor |
getReader(ISession session)
Returns a reader that can be used to read from this store in the context of the given session.
|
ILissomeStoreAccessor |
getWriter(ITransaction transaction)
Returns a writer that can be used to write to this store in the context of the given view.
|
createObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, isFirstStart, removePersistentProperties, setPersistentProperties
ILissomeStoreAccessor getReader(ISession session)
IStore
getReader
in interface IStore
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
LifecycleEventAdapter
with 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.null
.ILissomeStoreAccessor getWriter(ITransaction transaction)
IStore
getWriter
in interface IStore
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
LifecycleEventAdapter
with it to intercept
cleanup on view close.null
.Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.