diff options
author | Eike Stepper | 2007-09-10 09:58:10 +0000 |
---|---|---|
committer | Eike Stepper | 2007-09-10 09:58:10 +0000 |
commit | a448c447c3de30946233cd0592679165524ab0b1 (patch) | |
tree | 0e8e20a5d1127cdf550518e72ea94be5bc11c481 /plugins/org.eclipse.emf.cdo.server | |
parent | 2f2e597d55716836623029b36fe44c67a609b955 (diff) | |
download | cdo-a448c447c3de30946233cd0592679165524ab0b1.tar.gz cdo-a448c447c3de30946233cd0592679165524ab0b1.tar.xz cdo-a448c447c3de30946233cd0592679165524ab0b1.zip |
Changed comment line width from 80 to 120.
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server')
3 files changed, 30 insertions, 43 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStore.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStore.java index d02664264c..5f4afadcfa 100644 --- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStore.java +++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStore.java @@ -22,52 +22,45 @@ public interface IStore extends IRepositoryElement public String getStoreType(); /** - * @return <code>true</code> if this store supports the retrieval of - * historical revisions, <code>false</code> otherwise. + * @return <code>true</code> if this store supports the retrieval of historical revisions, <code>false</code> + * otherwise. */ public boolean hasAuditingSupport(); /** - * @return <code>true</code> if this store supports the storage of - * concurrent revisions in separate branches, <code>false</code> - * otherwise. + * @return <code>true</code> if this store supports the storage of concurrent revisions in separate branches, + * <code>false</code> otherwise. */ public boolean hasBranchingSupport(); /** - * @return <code>true</code> if this store supports the efficient lookup of - * object types, <code>false</code> otherwise. + * @return <code>true</code> if this store supports the efficient lookup of object types, <code>false</code> + * otherwise. */ public boolean hasEfficientTypeLookup(); /** - * Returns a reader that can be used to read from this store in the context of - * the given session. + * Returns a reader that can be used to read from this store in the context of the given session. * * @param session - * The session that should be used as a context for read access or - * <code>null</code>. 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 {@link LifecycleEventAdapter} with - * it to intercept cleanup on session close. Note however that the - * session can be <code>null</code>, for example during startup of - * the server while the repositories are initialized but before any - * user session has been opened. + * The session that should be used as a context for read access or <code>null</code>. 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 + * {@link LifecycleEventAdapter} with it to intercept cleanup on session close. Note however that the session + * can be <code>null</code>, for example during startup of the server while the repositories are + * initialized but before any user session has been opened. */ public IStoreReader getReader(ISession session); /** - * Returns 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. + * Returns 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. * * @param session - * 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 {@link LifecycleEventAdapter} with it to intercept cleanup on - * view close. + * 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 {@link LifecycleEventAdapter} with it to intercept cleanup + * on view close. */ public IStoreWriter getWriter(IView view); } diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreReader.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreReader.java index 5dea6eb87c..6e87706d7e 100644 --- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreReader.java +++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreReader.java @@ -36,22 +36,19 @@ public interface IStoreReader extends IStoreAccessor public Collection<CDOPackageInfo> readPackageInfos(); /** - * Demand loads a given package proxy that has been created on startup of the - * repository. + * Demand loads a given package proxy that has been created on startup of the repository. */ public void readPackage(CDOPackageImpl cdoPackage); /** - * Returns an iterator that iterates over all objects in the store and makes - * their ids available for processing. This method is supposed to be called - * very infrequently, for example during the recovery from a crash. + * Returns an iterator that iterates over all objects in the store and makes their ids available for processing. This + * method is supposed to be called very infrequently, for example during the recovery from a crash. */ public CloseableIterator<CDOID> readObjectIDs(boolean withTypes); /** - * Reads the type of an object from the associated store and returns a class - * reference of it. This method is supposed to be called very infrequently if - * the {@link IStore#hasEfficientTypeLookup()} returns <code>false</code>. + * Reads the type of an object from the associated store and returns a class reference of it. This method is supposed + * to be called very infrequently if the {@link IStore#hasEfficientTypeLookup()} returns <code>false</code>. */ public CDOClassRef readObjectType(CDOID id); diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreWriter.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreWriter.java index 7084b479ed..a8cfb414d8 100644 --- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreWriter.java +++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/IStoreWriter.java @@ -26,16 +26,13 @@ public interface IStoreWriter extends IStoreReader public IView getView(); /** - * Stores a complete description of a package so that it can be restored to an - * identical state at a later point in time. + * Stores a complete description of a package so that it can be restored to an identical state at a later point in + * time. * <p> - * <b>Note:</b> The implementor of this method must not assume that - * references to classes in this package or in any other package are already - * resolved or are resolveable at the point in time when this method is called - * by the framework. References to classes frequently appear in - * {@link CDOClass#getSuperTypes()} and in - * {@link CDOFeature#getReferenceType()}. Instead - * {@link CDOClassImpl#getSuperTypeProxies()} and + * <b>Note:</b> The implementor of this method must not assume that references to classes in this package or in any + * other package are already resolved or are resolveable at the point in time when this method is called by the + * framework. References to classes frequently appear in {@link CDOClass#getSuperTypes()} and in + * {@link CDOFeature#getReferenceType()}. Instead {@link CDOClassImpl#getSuperTypeProxies()} and * {@link CDOFeatureImpl#getReferenceTypeProxy()} should be used. * <p> * |