Class ZookeeperLockFailedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.search.provider.solr.util.zk.ZookeeperLockFailedEvent
All Implemented Interfaces:
Serializable

public class ZookeeperLockFailedEvent extends org.springframework.context.ApplicationEvent
Event that can be raised to indicate that a thread which may have already acquired a lock, somehow loses that lock transitively, usually because of a ZooKeeper connection issue or other issue related to ZooKepper state. Event listeners that listen to this SHOULD NOT throw exceptions (including RuntimeException. Event listeners that listen to this SHOULD NOT be asynchronous.
Author:
Kelly Tisdell (ktisdell)
See Also:
  • Constructor Details

    • ZookeeperLockFailedEvent

      public ZookeeperLockFailedEvent(String lockName)
  • Method Details

    • getLockName

      public String getLockName()