Class InMemoryPartitionManager

  • All Implemented Interfaces:
    org.zalando.fahrschein.PartitionManager

    public class InMemoryPartitionManager
    extends org.zalando.fahrschein.SimplePartitionManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean acquireLock​(java.lang.String eventName, java.lang.String lockedBy)  
      protected void releaseLock​(java.lang.String eventName, java.lang.String lockedBy)  
      • Methods inherited from class org.zalando.fahrschein.SimplePartitionManager

        lockPartitions, unlockPartitions
      • Methods inherited from class java.lang.Object

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

      • InMemoryPartitionManager

        public InMemoryPartitionManager()
    • Method Detail

      • acquireLock

        protected boolean acquireLock​(java.lang.String eventName,
                                      java.lang.String lockedBy)
        Specified by:
        acquireLock in class org.zalando.fahrschein.SimplePartitionManager
      • releaseLock

        protected void releaseLock​(java.lang.String eventName,
                                   java.lang.String lockedBy)
        Specified by:
        releaseLock in class org.zalando.fahrschein.SimplePartitionManager