org.eclipse.emf.cdo.spi.server
Class StoreAccessor
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.spi.server.StoreAccessorBase
org.eclipse.emf.cdo.spi.server.StoreAccessor
- All Implemented Interfaces:
- IQueryHandlerProvider, IStoreAccessor, InternalCDOBranchManager.BranchLoader, InternalCDOCommitInfoManager.CommitInfoLoader, INotifier, ILifecycle, ILifecycle.DeferrableActivation
- Direct Known Subclasses:
- LongIDStoreAccessor
- public abstract class StoreAccessor
- extends StoreAccessorBase
- Since:
- 2.0
Method Summary |
protected void |
applyIDMappings(InternalCommitContext context,
OMMonitor monitor)
|
protected abstract void |
detachObjects(CDOID[] detachedObjects,
CDOBranch branch,
long timeStamp,
OMMonitor monitor)
|
protected void |
doWrite(InternalCommitContext context,
OMMonitor monitor)
|
protected abstract void |
writeBlob(byte[] id,
long size,
InputStream inputStream)
|
protected abstract void |
writeClob(byte[] id,
long size,
Reader reader)
|
protected abstract void |
writeCommitInfo(CDOBranch branch,
long timeStamp,
long previousTimeStamp,
String userID,
String comment,
OMMonitor monitor)
|
protected abstract void |
writeRevisionDeltas(InternalCDORevisionDelta[] revisionDeltas,
CDOBranch branch,
long created,
OMMonitor monitor)
|
protected abstract void |
writeRevisions(InternalCDORevision[] revisions,
CDOBranch branch,
OMMonitor monitor)
|
Methods inherited from class org.eclipse.emf.cdo.spi.server.StoreAccessorBase |
addIDMappings, commit, doCommit, doPassivate, doRollback, doUnpassivate, getNextCDOID, getSession, getStore, getTransaction, isReader, loadCommitData, readResourceID, release, rollback, write |
Methods 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, toString |
Methods inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor |
createChunkReader, handleLobs, handleRevisions, loadLob, loadPackageUnit, queryLobs, queryResources, queryXRefs, readChangeSet, readPackageUnits, readRevision, readRevisionByVersion, writePackageUnits |
StoreAccessor
protected StoreAccessor(Store store,
ISession session)
StoreAccessor
protected StoreAccessor(Store store,
ITransaction transaction)
doWrite
protected void doWrite(InternalCommitContext context,
OMMonitor monitor)
- Specified by:
doWrite
in class StoreAccessorBase
- Since:
- 4.0
applyIDMappings
protected void applyIDMappings(InternalCommitContext context,
OMMonitor monitor)
- Since:
- 3.0
writeCommitInfo
protected abstract void writeCommitInfo(CDOBranch branch,
long timeStamp,
long previousTimeStamp,
String userID,
String comment,
OMMonitor monitor)
- Since:
- 4.0
writeRevisions
protected abstract void writeRevisions(InternalCDORevision[] revisions,
CDOBranch branch,
OMMonitor monitor)
- Since:
- 3.0
writeRevisionDeltas
protected abstract void writeRevisionDeltas(InternalCDORevisionDelta[] revisionDeltas,
CDOBranch branch,
long created,
OMMonitor monitor)
- Since:
- 3.0
detachObjects
protected abstract void detachObjects(CDOID[] detachedObjects,
CDOBranch branch,
long timeStamp,
OMMonitor monitor)
- Since:
- 3.0
writeBlob
protected abstract void writeBlob(byte[] id,
long size,
InputStream inputStream)
throws IOException
- Throws:
IOException
- Since:
- 4.0
writeClob
protected abstract void writeClob(byte[] id,
long size,
Reader reader)
throws IOException
- Throws:
IOException
- Since:
- 4.0
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.