MappingLockToken Class

Definition

Public type that represents the owner of a lock held on a mapping. This class is immutable.

public class MappingLockToken
Inheritance
java.lang.Object
MappingLockToken

Constructors

MappingLockToken(UUID lockOwnerId)

Instantiates an instance of MappingLockToken with the given lock owner id.

Fields

ForceUnlock

Token that can be used to force an unlock on any locked mapping.

NoLock

Token representing the default state where the mapping isn't locked.

Methods

create()

Creates an instance of MappingLockToken.

equals(MappingLockToken other)

Compares two instances of MappingLockToken to see if they have the same owner.

equals(Object obj)

Determines whether the specified object is equal to the current object.

getLockOwnerId()
hashCode()

Calculates the hash code for this instance.

opEquality(MappingLockToken leftMappingLockToken, MappingLockToken rightMappingLockToken)

Equality operator.

opInequality(MappingLockToken leftMappingLockToken, MappingLockToken rightMappingLockToken)

Inequality operator.

setLockOwnerId(UUID value)

Applies to