java.lang.Object
com.broadleafcommerce.common.messaging.provider.jpa.repository.LockState

public class LockState extends Object
If a takeover is successful, this state reports the new token for the lock, as well as the last status reported by the previous lock owner.
See Also:
  • Constructor Details

    • LockState

      public LockState(String token, String currentStatus)
  • Method Details

    • getToken

      public String getToken()
    • getCurrentStatus

      public String getCurrentStatus()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object