Package org.eclipse.emf.cdo.spi.server
Class LongIDStore
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.spi.server.Store
org.eclipse.emf.cdo.spi.server.LongIDStore
- All Implemented Interfaces:
IStore,InternalStore,org.eclipse.net4j.util.collection.Entity.Store.Provider,org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.event.INotifier.INotifier2,org.eclipse.net4j.util.lifecycle.IDeactivateable,org.eclipse.net4j.util.lifecycle.ILifecycle,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.spi.server.InternalStore
InternalStore.NoChangeSets, InternalStore.NoCommitInfos, InternalStore.NoDurableLocking, InternalStore.NoExternalReferences, InternalStore.NoFeatureMaps, InternalStore.NoHandleRevisions, InternalStore.NoLargeObjects, InternalStore.NoQueryXRefs, InternalStore.NoRawAccessNested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStore
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality -
Field Summary
FieldsFields inherited from class org.eclipse.emf.cdo.spi.server.Store
UNSPECIFIED_DATEFields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL -
Constructor Summary
ConstructorsConstructorDescriptionLongIDStore(String type, Set<IStore.ChangeFormat> supportedChangeFormats, Set<IStore.RevisionTemporality> supportedRevisionTemporalities, Set<IStore.RevisionParallelism> supportedRevisionParallelisms) -
Method Summary
Modifier and TypeMethodDescriptioncreateObjectID(String val) voidlonggetNextCDOID(LongIDStoreAccessor accessor, CDORevision revision) longbooleanDeprecated.voidsetLastObjectID(long lastObjectID) voidsetNextLocalObjectID(long nextLocalObjectID) Methods inherited from class org.eclipse.emf.cdo.spi.server.Store
computeEntity, computeEntityNames, createExactMatchContext, createReader, createRevision, createWriter, entityBuilder, getEntityStore, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getNextBranchID, getNextLocalBranchID, getObjectIDTypes, getReader, getReaderPool, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, getWriter, getWriterPool, idToString, isDropAllDataOnActivate, releaseAccessor, set, setDropAllDataOnActivate, setLastBranchID, setLastCommitTime, setLastLocalBranchID, setLastNonLocalCommitTime, setObjectIDTypes, setRepository, setRevisionParallelism, setRevisionTemporality, stringToIDMethods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringMethods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.emf.cdo.spi.server.InternalStore
setCreationTimeMethods inherited from interface org.eclipse.emf.cdo.server.IStore
getCreationTime, getPersistentProperties, isFirstStart, removePersistentProperties, setPersistentProperties
-
Field Details
-
OBJECT_ID_TYPES
- Since:
- 3.0
-
NULL
public static final long NULL- Since:
- 3.0
-
-
Constructor Details
-
LongIDStore
public LongIDStore(String type, Set<IStore.ChangeFormat> supportedChangeFormats, Set<IStore.RevisionTemporality> supportedRevisionTemporalities, Set<IStore.RevisionParallelism> supportedRevisionParallelisms)
-
-
Method Details
-
createObjectID
- Since:
- 4.0
-
getLastObjectID
public long getLastObjectID() -
setLastObjectID
public void setLastObjectID(long lastObjectID) -
getNextLocalObjectID
public long getNextLocalObjectID()- Since:
- 3.0
-
setNextLocalObjectID
public void setNextLocalObjectID(long nextLocalObjectID) - Since:
- 3.0
-
getNextCDOID
- Since:
- 4.0
-
isLocal
Deprecated. -
ensureLastObjectID
- Since:
- 4.0
-