Package org.eclipse.emf.spi.cdo
Interface CDOSessionProtocol
- All Superinterfaces:
CDOProtocol,CDOProtocolConstants,InternalCDOBranchManager.BranchLoader,InternalCDOBranchManager.BranchLoader2,InternalCDOBranchManager.BranchLoader3,InternalCDOBranchManager.BranchLoader4,InternalCDOBranchManager.BranchLoader5,InternalCDOCommitInfoManager.CommitInfoLoader,InternalCDOPackageRegistry.PackageLoader,InternalCDORevisionManager.RevisionLoader,InternalCDORevisionManager.RevisionLoader2,InternalCDORevisionManager.RevisionLoader3,InternalCDORevisionManager.RevisionLoader4
public interface CDOSessionProtocol
extends CDOProtocol, InternalCDOPackageRegistry.PackageLoader, InternalCDOBranchManager.BranchLoader5, InternalCDORevisionManager.RevisionLoader3, InternalCDORevisionManager.RevisionLoader4, InternalCDOCommitInfoManager.CommitInfoLoader
Defines the client-side operations for communicating with a CDO repository over a session protocol. Each operation
corresponds to a request handled by the server protocol, while the nested result types carry the repository's reply
and any state needed by the session to apply it.
Deprecated methods in this interface are retained for API compatibility only. Implementations should implement the corresponding non-deprecated methods directly and must not use deprecated methods as implementation fallbacks for newer methods, unless explicitly specified otherwise.
In particular, the presence of a deprecated method does not imply that implementations are required
to support it; implementations may throw UnsupportedOperationException where appropriate.
- Since:
- 2.0
- Author:
- Eike Stepper
- 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 ClassesModifier and TypeInterfaceDescriptionstatic final classThe result of changing durable locking for a view.static final classA client/server-coordinate range for a collection chunk request.static final classReturns the commit outcome to the client, including the commit point and the information needed to reconcile the transaction's objects and commit metadata with the repository's accepted commit.static final classDescribes the outcome of a repository object-lock request, including whether the requested locks were obtained and the lock-state information the client needs to update its view.static final classA partial lock-state query paired with the session lock-change sequence baseline represented by the queried states.static final classAn authoritative lock-state snapshot paired with its sequence baseline.static final classDescribes the object IDs and branch point produced by a repository merge request.static final classCarries the repository metadata and initial session state returned when a client opens a session.static final classContains the repository update position and package-unit information returned when a session refreshes.static final classReports the repository time values exchanged during time synchronization, including the requested, indicated, responded, and confirmed timestamps used to estimate the repository's current time.static final classCarries the repository's response to an object-unlock request, including the lock changes and their update timestamp so the client can bring its lock state in line with the repository.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.protocol.CDOProtocol
CDOProtocol.CommitData, CDOProtocol.CommitNotificationInfoNested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.protocol.CDOProtocolConstants
CDOProtocolConstants.UnitOpcodeNested classes/interfaces inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader
InternalCDOBranchManager.BranchLoader.BranchInfo, InternalCDOBranchManager.BranchLoader.SubBranchInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longIndicates that a lock-state query has no atomically captured sequence baseline.Fields inherited from interface org.eclipse.emf.cdo.common.protocol.CDOProtocolConstants
DEFAULT_OPTIMISTIC_LOCKING_TIMEOUT, NO_MORE_REMOTE_SESSIONS, PROTOCOL_NAME, PROTOCOL_VERSION, QUERY_LANGUAGE_FINGER_PRINT, QUERY_LANGUAGE_FINGER_PRINT_PARAM, QUERY_LANGUAGE_FINGER_PRINT_TYPE, QUERY_LANGUAGE_INSTANCES, QUERY_LANGUAGE_INSTANCES_EXACT, QUERY_LANGUAGE_INSTANCES_TYPE, QUERY_LANGUAGE_RESOURCES, QUERY_LANGUAGE_RESOURCES_EXACT_MATCH, QUERY_LANGUAGE_RESOURCES_FOLDER_ID, QUERY_LANGUAGE_XREFS, QUERY_LANGUAGE_XREFS_SOURCE_REFERENCES, QUERY_RESULT_EXCEPTION, QUERY_RESULT_PRIMITIVE, QUERY_RESULT_REVISION, REFRESH_CHANGED_OBJECT, REFRESH_DETACHED_OBJECT, REFRESH_FINISHED, REFRESH_PACKAGE_UNIT, RELEASE_ALL_LOCKS, REMOTE_SESSION_CLOSED, REMOTE_SESSION_CUSTOM_DATA, REMOTE_SESSION_OPENED, REMOTE_SESSION_SUBSCRIBED, REMOTE_SESSION_UNSUBSCRIBED, REPLICATE_BRANCH, REPLICATE_COMMIT, REPLICATE_FINISHED, REPLICATE_LOCKAREA, REVISION_DOES_NOT_EXIST, ROLLBACK_REASON_COMMIT_CONFLICT, ROLLBACK_REASON_CONTAINMENT_CYCLE, ROLLBACK_REASON_OPTIMISTIC_LOCKING, ROLLBACK_REASON_REFERENTIAL_INTEGRITY, ROLLBACK_REASON_UNIT_INTEGRITY, ROLLBACK_REASON_UNKNOWN, ROLLBACK_REASON_VALIDATION_ERROR, SIGNAL_AUTHENTICATION, SIGNAL_AUTHORIZE_OPERATIONS, SIGNAL_BRANCH_NOTIFICATION, SIGNAL_CHANGE_CREDENTIALS, SIGNAL_CHANGE_SUBSCRIPTION, SIGNAL_CHANGE_TAG, SIGNAL_CLOSE_VIEW, SIGNAL_COMMIT_DELEGATION, SIGNAL_COMMIT_NOTIFICATION, SIGNAL_COMMIT_TRANSACTION, SIGNAL_CREATE_BRANCH, SIGNAL_CREDENTIALS_CHALLENGE, SIGNAL_DELETE_BRANCH, SIGNAL_DISABLE_PASSIVE_UPDATE, SIGNAL_ENABLE_LOCK_NOTIFICATION, SIGNAL_GET_REMOTE_SESSIONS, SIGNAL_HANDLE_REVISIONS, SIGNAL_LOAD_BRANCH, SIGNAL_LOAD_BRANCHES, SIGNAL_LOAD_CHANGE_SETS, SIGNAL_LOAD_CHUNK, SIGNAL_LOAD_COMMIT_DATA, SIGNAL_LOAD_COMMIT_INFOS, SIGNAL_LOAD_LOB, SIGNAL_LOAD_MERGE_DATA, SIGNAL_LOAD_OBJECT_LIFETIME, SIGNAL_LOAD_PACKAGES, SIGNAL_LOAD_PERMISSIONS, SIGNAL_LOAD_REVISION_BY_VERSION, SIGNAL_LOAD_REVISIONS, SIGNAL_LOAD_SUB_BRANCHES, SIGNAL_LOAD_TAGS, SIGNAL_LOCK_AREA, SIGNAL_LOCK_DELEGATION, SIGNAL_LOCK_NOTIFICATION, SIGNAL_LOCK_OBJECTS, SIGNAL_LOCK_OWNER_REMAPPED_NOTIFICATION, SIGNAL_LOCK_STATE, SIGNAL_LOCK_STATE_SNAPSHOT, SIGNAL_OBJECT_LOCKED, SIGNAL_OPEN_SESSION, SIGNAL_OPEN_VIEW, SIGNAL_OPENED_SESSION, SIGNAL_QUERY, SIGNAL_QUERY_CANCEL, SIGNAL_QUERY_LOBS, SIGNAL_REFRESH_SESSION, SIGNAL_REMOTE_MESSAGE, SIGNAL_REMOTE_MESSAGE_NOTIFICATION, SIGNAL_REMOTE_SESSION_NOTIFICATION, SIGNAL_REMOTE_TOPIC, SIGNAL_RENAME_BRANCH, SIGNAL_REPLICATE_REPOSITORY, SIGNAL_REPLICATE_REPOSITORY_RAW, SIGNAL_REPOSITORY_STATE_NOTIFICATION, SIGNAL_REPOSITORY_TIME, SIGNAL_REPOSITORY_TYPE_NOTIFICATION, SIGNAL_RESET_TRANSACTION, SIGNAL_SET_COLLECTION_LOADING_CONFIG, SIGNAL_SET_LOCK_NOTIFICATION_MODE, SIGNAL_SET_PASSIVE_UPDATE_MODE, SIGNAL_SWITCH_TARGET, SIGNAL_TAG_NOTIFICATION, SIGNAL_UNIT, SIGNAL_UNLOCK_DELEGATION, SIGNAL_UNLOCK_OBJECTS, SIGNAL_UNSUBSCRIBE_REMOTE_SESSIONS, SIGNAL_USER_OFFSET, SIGNAL_VIEW_CLOSED_NOTIFICATION, SIGNAL_XA_COMMIT_TRANSACTION_CANCEL, SIGNAL_XA_COMMIT_TRANSACTION_PHASE1, SIGNAL_XA_COMMIT_TRANSACTION_PHASE2, SIGNAL_XA_COMMIT_TRANSACTION_PHASE3, USER_INFO_NAMESPACE, USER_INFO_PROPERTIES, X_COMPRESSIONFields inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader
NEW_BRANCH, NEW_LOCAL_BRANCH -
Method Summary
Modifier and TypeMethodDescriptionString[]authorizeOperations(org.eclipse.net4j.util.security.operations.AuthorizableOperation[] operations) booleancancelQuery(int queryId) changeLockArea(CDOView view, boolean create) Deprecated.changeLockArea2(CDOView view, boolean create) Changes durable locking and returns the sequence number of the resulting owner remap for this session.voidchangeSubscription(int viewId, List<CDOID> ids, boolean subscribeMode, boolean clear) voidcloseView(int viewID) commitDelegation(CDOBranch branch, String userID, String comment, CDOCommitData commitData, Map<CDOID, EClass> detachedObjectTypes, Collection<CDOLob<?>> lobs, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated.commitDelegation(InternalCDOTransaction.InternalCDOCommitContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) commitTransaction(int transactionID, String comment, boolean releaseLocks, CDOIDProvider idProvider, CDOCommitData commitData, Collection<CDOLob<?>> lobs, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated.commitTransaction(InternalCDOTransaction.InternalCDOCommitContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) commitXATransactionCancel(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) commitXATransactionPhase1(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) commitXATransactionPhase2(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) commitXATransactionPhase3(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) delegateLockObjects(String lockAreaID, List<CDORevisionKey> revisionKeys, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive, long timeout) delegateUnlockObjects(String lockAreaID, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive) voidvoidenableLockNotifications(int viewID, boolean enable) getLockStates(int viewID, Collection<CDOID> ids) Deprecated.getLockStates(int branchID, Collection<CDOID> ids, int depth) Deprecated.getLockStates2(int branchID, Collection<CDOID> ids, int depth) Deprecated.As of 4.31 usegetLockStates3(int, Collection, int).getLockStates3(int branchID, Collection<CDOID> ids, int depth) Returns a selective lock-state query paired with the exact session lock-change sequence baseline represented by the query result.Returns an authoritative lock-state snapshot and the exact session lock sequence baseline represented by that snapshot.getRemoteSessions(InternalCDORemoteSessionManager manager, boolean subscribe) booleanisObjectLocked(CDOView view, CDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean byOthers) loadChangeSets(CDOBranchPointRange... ranges) loadChunk(InternalCDORevision revision, EStructuralFeature feature, int accessIndex, int fetchIndex, int fromIndex, int toIndex) loadChunk(InternalCDORevision revision, EStructuralFeature feature, List<CDOSessionProtocol.ChunkRange> ranges) Loads one or more ordered ranges of one feature of one exact revision.voidloadLob(CDOLobInfo info, Object outputStreamOrWriter) loadMergeData(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo) Deprecated.loadMergeData2(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo) loadPermissions(InternalCDORevision[] revisions) Deprecated.loadPermissions3(Map<CDOBranchPoint, Set<InternalCDORevision>> revisions) lockObjects(List<InternalCDORevision> viewedRevisions, int viewID, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, long timeout) Deprecated.lockObjects2(List<CDORevisionKey> revisionKeys, int viewID, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive, long timeout) voidDeprecated.openView(int viewID, boolean readOnly, String durableLockingID, BiConsumer<CDOID, IDurableLockingManager.LockGrade> consumer) voidopenView(int viewID, boolean readOnly, CDOBranchPoint branchPoint) voidquery(CDOView view, AbstractQueryIterator<?> queryResult) List<byte[]> refresh(long lastUpdateTime, Map<CDOBranch, Map<CDOID, InternalCDORevision>> viewedRevisions, int initialChunkSize, boolean enablePassiveUpdates) voidreplicateRepository(CDOReplicationContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) voidreplicateRepositoryRaw(CDORawReplicationContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) voidDeprecated.voidrequestChangeServerPassword(AtomicReference<char[]> receiver) Requests that the server initiate the change-credentials protocol.requestEntities(String namespace, String... names) voidrequestResetCredentials(String userID) Requests that the server initiate the reset-credentials protocol.booleanrequestUnit(int viewID, CDOID rootID, CDOProtocolConstants.UnitOpcode opcode, boolean prefetchLockStates, CDORevisionHandler revisionHandler, org.eclipse.net4j.util.om.monitor.OMMonitor safe) booleanrequestUnit(int viewID, CDOID rootID, CDOProtocolConstants.UnitOpcode opcode, CDORevisionHandler revisionHandler, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated.resetTransaction(int transactionID, int commitNumber) sendRemoteMessage(CDORemoteSessionMessage message, List<CDORemoteSession> recipients) Deprecated.sendRemoteMessage(CDORemoteSessionMessage message, CDORemoteTopic topic, List<CDORemoteSession> recipients) Replaces the complete collection-loading configuration of the server session.voidvoidsubscribeRemoteTopic(String id, boolean on) voidswitchTarget(int viewID, CDOBranchPoint branchPoint, List<InternalCDOObject> invalidObjects, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) voidunlockObjects(CDOView view, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) Deprecated.unlockObjects2(CDOView view, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive) booleanMethods inherited from interface org.eclipse.emf.cdo.common.protocol.CDOProtocol
getSessionMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader
createBranch, loadBranch, loadBranches, loadSubBranchesMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader2
deleteBranch, renameBranchMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader3
renameBranchMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader4
changeTag, loadTagsMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.InternalCDOBranchManager.BranchLoader5
deleteBranchesMethods inherited from interface org.eclipse.emf.cdo.spi.common.commit.InternalCDOCommitInfoManager.CommitInfoLoader
loadCommitData, loadCommitInfosMethods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageLoader
loadPackagesMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLoader
handleRevisions, loadRevisionByVersion, loadRevisionsMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLoader2
loadObjectLifetimeMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLoader3
loadRevisionsMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLoader4
loadRevisionByVersion, loadRevisions
-
Field Details
-
UNSPECIFIED_LOCK_MOD_COUNT
static final long UNSPECIFIED_LOCK_MOD_COUNTIndicates that a lock-state query has no atomically captured sequence baseline.- Since:
- 4.31
- See Also:
-
-
Method Details
-
getRepositoryTime
CDOSessionProtocol.RepositoryTimeResult getRepositoryTime() -
openedSession
void openedSession()- Since:
- 4.5
-
disablePassiveUpdate
void disablePassiveUpdate()- Since:
- 3.0
-
setPassiveUpdateMode
- Since:
- 3.0
-
setLockNotificationMode
- Since:
- 4.1
-
setCollectionLoadingConfig
Replaces the complete collection-loading configuration of the server session.- Parameters:
config- the complete configuration snapshot, ornullto disable modern partial collection loading- Since:
- 4.31
-
refresh
CDOSessionProtocol.RefreshSessionResult refresh(long lastUpdateTime, Map<CDOBranch, Map<CDOID, InternalCDORevision>> viewedRevisions, int initialChunkSize, boolean enablePassiveUpdates) - Since:
- 3.0
-
loadChunk
Object loadChunk(InternalCDORevision revision, EStructuralFeature feature, int accessIndex, int fetchIndex, int fromIndex, int toIndex) - Parameters:
accessIndex- Index of the item access at the client (with modifications)fetchIndex- Index of the item access at the server (without any modifications)fromIndex- Load objects at the client from fromIndex (inclusive)toIndex- Load objects at the client to toIndex (inclusive)
-
loadChunk
Object loadChunk(InternalCDORevision revision, EStructuralFeature feature, List<CDOSessionProtocol.ChunkRange> ranges) Loads one or more ordered ranges of one feature of one exact revision.Each range carries both the client/access coordinate and the corresponding server/source coordinate. The ranges are inclusive at both ends and are returned in the same order.
- Parameters:
revision- the exact revision to loadfeature- the many-valued feature to loadranges- the ordered ranges to load- Returns:
- the value at the access coordinate of a single-range request, or
nullfor a multi-range request - Since:
- 4.31
-
openView
- Since:
- 4.0
-
openView
CDOBranchPoint openView(int viewID, boolean readOnly, String durableLockingID, BiConsumer<CDOID, IDurableLockingManager.LockGrade> consumer) - Since:
- 4.15
-
switchTarget
void switchTarget(int viewID, CDOBranchPoint branchPoint, List<InternalCDOObject> invalidObjects, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 4.0
-
closeView
void closeView(int viewID) -
changeSubscription
-
query
- Since:
- 4.0
-
cancelQuery
boolean cancelQuery(int queryId) -
lockObjects2
CDOSessionProtocol.LockObjectsResult lockObjects2(List<CDORevisionKey> revisionKeys, int viewID, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive, long timeout) throws InterruptedException - Throws:
InterruptedException- Since:
- 4.1
-
delegateLockObjects
CDOSessionProtocol.LockObjectsResult delegateLockObjects(String lockAreaID, List<CDORevisionKey> revisionKeys, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive, long timeout) throws InterruptedException - Throws:
InterruptedException- Since:
- 4.1
-
unlockObjects2
CDOSessionProtocol.UnlockObjectsResult unlockObjects2(CDOView view, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive) - Since:
- 4.1
-
delegateUnlockObjects
CDOSessionProtocol.UnlockObjectsResult delegateUnlockObjects(String lockAreaID, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean recursive) - Since:
- 4.1
-
isObjectLocked
boolean isObjectLocked(CDOView view, CDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean byOthers) - Since:
- 3.0
-
changeLockArea2
Changes durable locking and returns the sequence number of the resulting owner remap for this session.- Since:
- 4.31
-
queryLobs
- Since:
- 4.0
-
loadLob
- Throws:
IOException- Since:
- 4.0
-
commitTransaction
CDOSessionProtocol.CommitTransactionResult commitTransaction(InternalCDOTransaction.InternalCDOCommitContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 4.1
-
commitDelegation
CDOSessionProtocol.CommitTransactionResult commitDelegation(InternalCDOTransaction.InternalCDOCommitContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 4.1
-
commitXATransactionPhase1
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase1(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 3.0
-
commitXATransactionPhase2
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase2(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 3.0
-
commitXATransactionPhase3
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase3(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 3.0
-
commitXATransactionCancel
CDOSessionProtocol.CommitTransactionResult commitXATransactionCancel(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 3.0
-
resetTransaction
- Since:
- 4.5
-
getRemoteSessions
List<CDORemoteSession> getRemoteSessions(InternalCDORemoteSessionManager manager, boolean subscribe) -
sendRemoteMessage
Set<Integer> sendRemoteMessage(CDORemoteSessionMessage message, CDORemoteTopic topic, List<CDORemoteSession> recipients) - Since:
- 4.17
-
subscribeRemoteTopic
- Since:
- 4.17
-
unsubscribeRemoteSessions
boolean unsubscribeRemoteSessions()- Since:
- 3.0
-
replicateRepository
void replicateRepository(CDOReplicationContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 4.0
-
replicateRepositoryRaw
void replicateRepositoryRaw(CDORawReplicationContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) - Since:
- 4.0
-
loadChangeSets
- Since:
- 3.0
-
loadMergeData2
CDOSessionProtocol.MergeDataResult loadMergeData2(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo) - Since:
- 4.6
-
getLockStates3
CDOSessionProtocol.LockStateQueryResult getLockStates3(int branchID, Collection<CDOID> ids, int depth) Returns a selective lock-state query paired with the exact session lock-change sequence baseline represented by the query result.- Parameters:
branchID- the ID of the branch to queryids- the object IDs to querydepth- the containment prefetch depth- Returns:
- the queried lock states and the session sequence baseline
- Since:
- 4.31
-
getLockStateSnapshot
CDOSessionProtocol.LockStateSnapshotResult getLockStateSnapshot()Returns an authoritative lock-state snapshot and the exact session lock sequence baseline represented by that snapshot.- Since:
- 4.31
-
enableLockNotifications
void enableLockNotifications(int viewID, boolean enable) - Since:
- 4.1
-
loadPermissions3
Map<CDORevision,CDOPermission> loadPermissions3(Map<CDOBranchPoint, Set<InternalCDORevision>> revisions) - Since:
- 4.22
-
authorizeOperations
String[] authorizeOperations(org.eclipse.net4j.util.security.operations.AuthorizableOperation[] operations) - Since:
- 4.15
-
requestChangeServerPassword
Requests that the server initiate the change-credentials protocol. This is an optional session protocol operation.- Throws:
UnsupportedOperationException- if the session protocol implementation does not support requesting change of credentials- Since:
- 4.13
-
requestResetCredentials
Requests that the server initiate the reset-credentials protocol. This is an optional session protocol operation.- Parameters:
userID- the ID of the user whose credentials are to be reset- Throws:
UnsupportedOperationException- if the session protocol implementation does not support requesting reset of credentials- Since:
- 4.3
-
requestUnit
boolean requestUnit(int viewID, CDOID rootID, CDOProtocolConstants.UnitOpcode opcode, boolean prefetchLockStates, CDORevisionHandler revisionHandler, org.eclipse.net4j.util.om.monitor.OMMonitor safe) - Since:
- 4.23
-
requestEntities
Map<String,org.eclipse.net4j.util.collection.Entity> requestEntities(String namespace, String... names) - Since:
- 4.26
-
lockObjects
@Deprecated CDOSessionProtocol.LockObjectsResult lockObjects(List<InternalCDORevision> viewedRevisions, int viewID, CDOBranch viewedBranch, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, long timeout) throws InterruptedException Deprecated.- Throws:
InterruptedException
-
unlockObjects
@Deprecated void unlockObjects(CDOView view, Collection<CDOID> objectIDs, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) Deprecated. -
changeLockArea
Deprecated.As of 4.31 usechangeLockArea2(CDOView, boolean).- Since:
- 4.0
-
commitTransaction
@Deprecated CDOSessionProtocol.CommitTransactionResult commitTransaction(int transactionID, String comment, boolean releaseLocks, CDOIDProvider idProvider, CDOCommitData commitData, Collection<CDOLob<?>> lobs, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated. -
commitDelegation
@Deprecated CDOSessionProtocol.CommitTransactionResult commitDelegation(CDOBranch branch, String userID, String comment, CDOCommitData commitData, Map<CDOID, EClass> detachedObjectTypes, Collection<CDOLob<?>> lobs, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated. -
loadMergeData
@Deprecated Set<CDOID> loadMergeData(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo) Deprecated. -
getLockStates
Deprecated. -
getLockStates
Deprecated. -
getLockStates2
Deprecated.As of 4.31 usegetLockStates3(int, Collection, int).- Since:
- 4.15
-
openView
Deprecated. -
requestChangeCredentials
Deprecated. -
loadPermissions
Deprecated. -
requestUnit
@Deprecated boolean requestUnit(int viewID, CDOID rootID, CDOProtocolConstants.UnitOpcode opcode, CDORevisionHandler revisionHandler, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Deprecated. -
sendRemoteMessage
@Deprecated Set<Integer> sendRemoteMessage(CDORemoteSessionMessage message, List<CDORemoteSession> recipients) Deprecated.- Since:
- 3.0
-
changeLockArea2(CDOView, boolean).