summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-01-25 10:10:03 (EST)
committerEike Stepper2008-01-25 10:10:03 (EST)
commit8a03fdf771e1f4c3c594cbd96d24c011a1b2a032 (patch)
tree634e5d13a53e71a91a8d8b656b437463b9555fbb
parenteebaf0b3e9ef0de0d4fce7216c609395ebd70803 (diff)
downloadcdo-8a03fdf771e1f4c3c594cbd96d24c011a1b2a032.zip
cdo-8a03fdf771e1f4c3c594cbd96d24c011a1b2a032.tar.gz
cdo-8a03fdf771e1f4c3c594cbd96d24c011a1b2a032.tar.bz2
[216586] Provide optional pooling of store accessors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216586
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Store.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Store.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Store.java
index 000e84b..80d8f73 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Store.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Store.java
@@ -15,7 +15,6 @@ import org.eclipse.emf.cdo.protocol.CDOIDUtil;
import org.eclipse.emf.cdo.server.IRepository;
import org.eclipse.emf.cdo.server.ISession;
import org.eclipse.emf.cdo.server.IStore;
-import org.eclipse.emf.cdo.server.IStoreAccessor;
import org.eclipse.emf.cdo.server.IStoreReader;
import org.eclipse.emf.cdo.server.IStoreWriter;
import org.eclipse.emf.cdo.server.IView;
@@ -127,7 +126,8 @@ public abstract class Store extends Lifecycle implements IStore
protected abstract IStoreWriter createWriter(IView view);
- protected void releaseAccessor(IStoreAccessor accessor)
+ protected void releaseAccessor(StoreAccessor accessor)
{
+ accessor.doRelease();
}
}