Interface IMEMStore

All Superinterfaces:
CDOAllRevisionsProvider, IStore, IStore.CanHandleClientAssignedIDs
All Known Subinterfaces:

public interface IMEMStore
extends IStore, CDOAllRevisionsProvider, IStore.CanHandleClientAssignedIDs

A simple in-memory store.

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/interfaces inherited from interface org.eclipse.emf.cdo.server.IStore
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality
Field Summary
static int UNLIMITED
Method Summary
 int getListLimit()
          Returns the number of revisions per CDOID that are stored.
 EClass getObjectType(CDOID id)
 void setListLimit(int listLimit)
          Limits the number of revisions per CDOID to the given value.
Methods inherited from interface org.eclipse.emf.cdo.server.IStore
createObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getReader, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, getWriter, isFirstStart, removePersistentProperties, setPersistentProperties
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDOAllRevisionsProvider

Field Detail


static final int UNLIMITED
See Also:
Constant Field Values
Method Detail


int getListLimit()
Returns the number of revisions per CDOID that are stored.


void setListLimit(int listLimit)
Limits the number of revisions per CDOID to the given value.

A value of 2, for example, stores the current and the immediately preceding revisions whereas older revisions are dropped from thids store. A value of 1 only stores the current revisions. A value of UNLIMITED does not limit the number of revisions to be stored for any id.

The list limit can be set and enforced at any time before or after the activation of this store.


EClass getObjectType(CDOID id)

Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.