Skip to content

Commit

Permalink
Improve Javadoc of LockOwnershipLostException
Browse files Browse the repository at this point in the history
  • Loading branch information
metanet committed Mar 25, 2019
1 parent 02e3fbf commit 49f8f4d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@
package com.hazelcast.cp.lock.exception;

import com.hazelcast.cp.lock.FencedLock;
import com.hazelcast.cp.session.CPSession;

/**
* Thrown when session of a lock holder is closed and the lock holder attempts
* a new lock / unlock operation on the lock.
* Thrown when an endpoint (either a Hazelcast server or a client) interacts
* with a {@link FencedLock} instance after its CP session is closed
* in the underlying CP group and its lock ownership is cancelled.
*
* @see FencedLock
* @see CPSession
*/
public class LockOwnershipLostException extends IllegalMonitorStateException {

Expand Down

0 comments on commit 49f8f4d

Please sign in to comment.