Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Locked

A constraint requiring a lock to be held by the session.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly lock

The lock that need to be held

Readonly lockName

lockName: string

The lock name

Readonly sequence

sequence: Long

The lock sequence number

Methods

and

  • Returns a composed constraint that represents a logical AND of this constraint and another.

    throws

    an IllegalArgumentError if the composed constraint would be unsatisfiable

    Parameters

    • other: UpdateConstraint

      a constraint that will be logically-ANDed with this constraint

    Returns UpdateConstraint

    a composed constraint that represents a logical AND of this constraint and the other constraint

Protected andBlockedFor

  • Indicates whether anding with the specified constraint is disallowed.

    Parameters

    Returns boolean

getConstraintType

getLockName

  • getLockName(): string
  • Get the lock name

    Returns string

    the lock name

getSequence

  • getSequence(): Long
  • Get the lock sequence number

    Returns Long

    the lock sequence number

or

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.