Interface InternalLockManager.LockChangeReservationSet

Enclosing interface:
InternalLockManager

public static interface InternalLockManager.LockChangeReservationSet
An aggregate of per-session reservations for one lock change.
Since:
4.27
Author:
Eike Stepper
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels all entries in this reservation.
    void
    complete(CDOLockChangeInfo info, InternalSession excludedSession)
    Completes this reservation with the resulting change, canceling the entry for the excluded session when the notification is not delivered to that session.
    Waits for and returns this lock change's result for the given session.
  • Method Details

    • complete

      void complete(CDOLockChangeInfo info, InternalSession excludedSession)
      Completes this reservation with the resulting change, canceling the entry for the excluded session when the notification is not delivered to that session.
      Parameters:
      info - the completed lock change
      excludedSession - the session whose entry must be cancelled, or null
      Since:
      4.27
    • cancel

      void cancel()
      Cancels all entries in this reservation.
      Since:
      4.27
    • getResult

      Waits for and returns this lock change's result for the given session.
      Parameters:
      session - the recipient session
      Returns:
      the exact sequence count and projected change, or null if no reservation was made
      Since:
      4.27