|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

Represents the physical data storage back-end of a CDO repository, such as a database or a file
system folder.
| Nested Class Summary | |
|---|---|
static interface |
IStore.CanHandleClientAssignedIDs
A marker interface for stores that can handle IDs assigned by a
client, typically UUIDs. |
static class |
IStore.ChangeFormat
Enumerates the possible data formats a store can accept for commit operations. |
static class |
IStore.RevisionParallelism
Enumerates the possible branching options a store can accept. |
static class |
IStore.RevisionTemporality
Enumerates the possible history recording options a store can accept. |
| Method Summary | |
|---|---|
CDOID |
createObjectID(String val)
|
long |
getCreationTime()
Returns the store creation time. |
ProgressDistributor |
getIndicatingCommitDistributor()
|
int |
getLastBranchID()
Returns the id of the last branch that has been created in this store. |
long |
getLastCommitTime()
Returns the time stamp of the last successful commit operation. |
int |
getLastLocalBranchID()
Returns the id of the last local branch that has been created in this store. |
long |
getLastNonLocalCommitTime()
Returns the time stamp of the last successful commit operation to a non-local branch. |
Set<CDOID.ObjectType> |
getObjectIDTypes()
|
Map<String,String> |
getPersistentProperties(Set<String> names)
Returns a map filled with the property entries for the requested property names if names is not
null and not empty, all existing property entries otherwise. |
IStoreAccessor |
getReader(ISession session)
Returns a reader that can be used to read from this store in the context of the given session. |
IRepository |
getRepository()
|
IStore.RevisionParallelism |
getRevisionParallelism()
|
IStore.RevisionTemporality |
getRevisionTemporality()
|
Set<IStore.ChangeFormat> |
getSupportedChangeFormats()
|
Set<IStore.RevisionParallelism> |
getSupportedRevisionParallelisms()
|
Set<IStore.RevisionTemporality> |
getSupportedRevisionTemporalities()
|
String |
getType()
|
IStoreAccessor |
getWriter(ITransaction transaction)
Returns a writer that can be used to write to this store in the context of the given view. |
boolean |
isFirstStart()
Returns trueif this store was activated for the first time, false otherwise. |
void |
removePersistentProperties(Set<String> names)
|
void |
setPersistentProperties(Map<String,String> properties)
|
| Method Detail |
|---|
IRepository getRepository()
String getType()
Set<CDOID.ObjectType> getObjectIDTypes()
CDOID createObjectID(String val)
Set<IStore.ChangeFormat> getSupportedChangeFormats()
Set<IStore.RevisionTemporality> getSupportedRevisionTemporalities()
Set<IStore.RevisionParallelism> getSupportedRevisionParallelisms()
IStore.RevisionTemporality getRevisionTemporality()
IStore.RevisionParallelism getRevisionParallelism()
boolean isFirstStart()
trueif this store was activated for the first time, false otherwise.
long getCreationTime()
int getLastBranchID()
int getLastLocalBranchID()
long getLastCommitTime()
long getLastNonLocalCommitTime()
branch.
Map<String,String> getPersistentProperties(Set<String> names)
names if names is not
null and not empty, all existing property entries otherwise.
void setPersistentProperties(Map<String,String> properties)
void removePersistentProperties(Set<String> names)
IStoreAccessor getReader(ISession session)
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.IStoreAccessor getWriter(ITransaction transaction)
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.ProgressDistributor getIndicatingCommitDistributor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||