Class AbstractPartitionManagerTest


  • @Transactional
    public abstract class AbstractPartitionManagerTest
    extends Object
    • Field Detail

      • expectedException

        public final org.junit.rules.ExpectedException expectedException
    • Constructor Detail

      • AbstractPartitionManagerTest

        public AbstractPartitionManagerTest()
    • Method Detail

      • partitionManager

        protected abstract org.zalando.fahrschein.PartitionManager partitionManager()
      • partitionManagerForAnotherConsumer

        protected abstract org.zalando.fahrschein.PartitionManager partitionManagerForAnotherConsumer()
      • partitions

        protected List<org.zalando.fahrschein.domain.Partition> partitions​(String... ids)
      • shouldLock

        public void shouldLock()
      • shouldAllowLockBySameNode

        public void shouldAllowLockBySameNode()
      • shouldNotLockAlreadyLocked

        public void shouldNotLockAlreadyLocked()
      • shouldLockIndependentConsumers

        public void shouldLockIndependentConsumers()
      • shouldLockIndependentEvents

        public void shouldLockIndependentEvents()
      • shouldLockIndependentPartitions

        public void shouldLockIndependentPartitions()