Class InvalidLockStateAfterRejoinException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidLockStateAfterRejoinException
    extends NonStopCacheException
    Exception class signifying invalid lock state. This normally happens when locks are acquired using explicit lock api's in Ehcache and a rejoin happens. All locks are flushed/invalidated when a Terracotta client rejoins the cluster. This exception will be thrown, for example, when trying to unlock a lock that was acquired prior to a rejoin.
    Author:
    Abhishek Sanoujam
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidLockStateAfterRejoinException

        public InvalidLockStateAfterRejoinException()
        Default Constructor
      • InvalidLockStateAfterRejoinException

        public InvalidLockStateAfterRejoinException​(java.lang.Throwable cause)
        Constructor accepting a root cause
      • InvalidLockStateAfterRejoinException

        public InvalidLockStateAfterRejoinException​(java.lang.String message,
                                                    java.lang.Throwable cause)
        Constructor accepting a root cause and a message