test_class.file: server/src/test/java/io/spine/server/delivery/DeliveryBuilderTest.java
test_class.identifier: DeliveryBuilderTest
test_case.body: @Test
      @DisplayName("accept only positive page size")
      void acceptOnlyPositivePageSize() {
          assertThrows(IllegalArgumentException.class,
                       () -> builder().setPageSize(0));
          assertThrows(IllegalArgumentException.class,
                       () -> builder().setPageSize(-3));
      }
test_case.class_method_signature: DeliveryBuilderTest.acceptOnlyPositivePageSize()
test_case.full_signature: @Test @DisplayName("accept only positive page size") void acceptOnlyPositivePageSize()
test_case.identifier: acceptOnlyPositivePageSize
test_case.invocations: assertThrows setPageSize builder assertThrows setPageSize builder
test_case.modifiers: @Test @DisplayName("accept only positive page size")
test_case.parameters: ()
test_case.return: void
test_case.signature: void acceptOnlyPositivePageSize()
focal_class.declarator: DEFAULT_PAGE_SIZE = 500
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_PAGE_SIZE = 500;
focal_class.type: int
focal_class.var_name: DEFAULT_PAGE_SIZE
focal_class.declarator: DEFAULT_CATCH_UP_PAGE_SIZE = 500
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_CATCH_UP_PAGE_SIZE = 500;
focal_class.type: int
focal_class.var_name: DEFAULT_CATCH_UP_PAGE_SIZE
focal_class.declarator: inboxStorage
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull InboxStorage inboxStorage;
focal_class.type: InboxStorage
focal_class.var_name: inboxStorage
focal_class.declarator: catchUpStorage
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull CatchUpStorage catchUpStorage;
focal_class.type: CatchUpStorage
focal_class.var_name: catchUpStorage
focal_class.declarator: strategy
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull DeliveryStrategy strategy;
focal_class.type: DeliveryStrategy
focal_class.var_name: strategy
focal_class.declarator: workRegistry
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull ShardedWorkRegistry workRegistry;
focal_class.type: ShardedWorkRegistry
focal_class.var_name: workRegistry
focal_class.declarator: deduplicationWindow
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull Duration deduplicationWindow;
focal_class.type: Duration
focal_class.var_name: deduplicationWindow
focal_class.declarator: deliveryMonitor
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull DeliveryMonitor deliveryMonitor;
focal_class.type: DeliveryMonitor
focal_class.var_name: deliveryMonitor
focal_class.declarator: pageSize
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull Integer pageSize;
focal_class.type: Integer
focal_class.var_name: pageSize
focal_class.declarator: catchUpPageSize
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull Integer catchUpPageSize;
focal_class.type: Integer
focal_class.var_name: catchUpPageSize
focal_class.file: server/src/main/java/io/spine/server/delivery/DeliveryBuilder.java
focal_class.identifier: DeliveryBuilder
focal_class.class_method_signature: DeliveryBuilder.DeliveryBuilder()
focal_class.full_signature:   DeliveryBuilder()
focal_class.identifier: DeliveryBuilder
focal_class.parameters: ()
focal_class.signature:  DeliveryBuilder()
focal_class.class_method_signature: DeliveryBuilder.inboxStorage()
focal_class.full_signature: public Optional<InboxStorage> inboxStorage()
focal_class.identifier: inboxStorage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<InboxStorage>
focal_class.signature: Optional<InboxStorage> inboxStorage()
focal_class.class_method_signature: DeliveryBuilder.getInboxStorage()
focal_class.full_signature:  InboxStorage getInboxStorage()
focal_class.identifier: getInboxStorage
focal_class.parameters: ()
focal_class.return: InboxStorage
focal_class.signature: InboxStorage getInboxStorage()
focal_class.class_method_signature: DeliveryBuilder.catchUpStorage()
focal_class.full_signature: public Optional<CatchUpStorage> catchUpStorage()
focal_class.identifier: catchUpStorage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<CatchUpStorage>
focal_class.signature: Optional<CatchUpStorage> catchUpStorage()
focal_class.class_method_signature: DeliveryBuilder.getCatchUpStorage()
focal_class.full_signature:  CatchUpStorage getCatchUpStorage()
focal_class.identifier: getCatchUpStorage
focal_class.parameters: ()
focal_class.return: CatchUpStorage
focal_class.signature: CatchUpStorage getCatchUpStorage()
focal_class.class_method_signature: DeliveryBuilder.strategy()
focal_class.full_signature: public Optional<DeliveryStrategy> strategy()
focal_class.identifier: strategy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<DeliveryStrategy>
focal_class.signature: Optional<DeliveryStrategy> strategy()
focal_class.class_method_signature: DeliveryBuilder.getStrategy()
focal_class.full_signature:  DeliveryStrategy getStrategy()
focal_class.identifier: getStrategy
focal_class.parameters: ()
focal_class.return: DeliveryStrategy
focal_class.signature: DeliveryStrategy getStrategy()
focal_class.class_method_signature: DeliveryBuilder.workRegistry()
focal_class.full_signature: public Optional<ShardedWorkRegistry> workRegistry()
focal_class.identifier: workRegistry
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<ShardedWorkRegistry>
focal_class.signature: Optional<ShardedWorkRegistry> workRegistry()
focal_class.class_method_signature: DeliveryBuilder.getWorkRegistry()
focal_class.full_signature:  ShardedWorkRegistry getWorkRegistry()
focal_class.identifier: getWorkRegistry
focal_class.parameters: ()
focal_class.return: ShardedWorkRegistry
focal_class.signature: ShardedWorkRegistry getWorkRegistry()
focal_class.class_method_signature: DeliveryBuilder.deduplicationWindow()
focal_class.full_signature: public Optional<Duration> deduplicationWindow()
focal_class.identifier: deduplicationWindow
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Duration>
focal_class.signature: Optional<Duration> deduplicationWindow()
focal_class.class_method_signature: DeliveryBuilder.getDeduplicationWindow()
focal_class.full_signature:  Duration getDeduplicationWindow()
focal_class.identifier: getDeduplicationWindow
focal_class.parameters: ()
focal_class.return: Duration
focal_class.signature: Duration getDeduplicationWindow()
focal_class.class_method_signature: DeliveryBuilder.deliveryMonitor()
focal_class.full_signature: public Optional<DeliveryMonitor> deliveryMonitor()
focal_class.identifier: deliveryMonitor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<DeliveryMonitor>
focal_class.signature: Optional<DeliveryMonitor> deliveryMonitor()
focal_class.class_method_signature: DeliveryBuilder.getMonitor()
focal_class.full_signature:  DeliveryMonitor getMonitor()
focal_class.identifier: getMonitor
focal_class.parameters: ()
focal_class.return: DeliveryMonitor
focal_class.signature: DeliveryMonitor getMonitor()
focal_class.class_method_signature: DeliveryBuilder.pageSize()
focal_class.full_signature: public Optional<Integer> pageSize()
focal_class.identifier: pageSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Integer>
focal_class.signature: Optional<Integer> pageSize()
focal_class.class_method_signature: DeliveryBuilder.getPageSize()
focal_class.full_signature:  Integer getPageSize()
focal_class.identifier: getPageSize
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getPageSize()
focal_class.class_method_signature: DeliveryBuilder.catchUpPageSize()
focal_class.full_signature: public Optional<Integer> catchUpPageSize()
focal_class.identifier: catchUpPageSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Integer>
focal_class.signature: Optional<Integer> catchUpPageSize()
focal_class.class_method_signature: DeliveryBuilder.getCatchUpPageSize()
focal_class.full_signature:  Integer getCatchUpPageSize()
focal_class.identifier: getCatchUpPageSize
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getCatchUpPageSize()
focal_class.class_method_signature: DeliveryBuilder.setWorkRegistry(ShardedWorkRegistry workRegistry)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setWorkRegistry(ShardedWorkRegistry workRegistry)
focal_class.identifier: setWorkRegistry
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (ShardedWorkRegistry workRegistry)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setWorkRegistry(ShardedWorkRegistry workRegistry)
focal_class.class_method_signature: DeliveryBuilder.setStrategy(DeliveryStrategy strategy)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setStrategy(DeliveryStrategy strategy)
focal_class.identifier: setStrategy
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (DeliveryStrategy strategy)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setStrategy(DeliveryStrategy strategy)
focal_class.class_method_signature: DeliveryBuilder.setDeduplicationWindow(Duration deduplicationWindow)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setDeduplicationWindow(Duration deduplicationWindow)
focal_class.identifier: setDeduplicationWindow
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (Duration deduplicationWindow)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setDeduplicationWindow(Duration deduplicationWindow)
focal_class.class_method_signature: DeliveryBuilder.setInboxStorage(InboxStorage inboxStorage)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setInboxStorage(InboxStorage inboxStorage)
focal_class.identifier: setInboxStorage
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (InboxStorage inboxStorage)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setInboxStorage(InboxStorage inboxStorage)
focal_class.class_method_signature: DeliveryBuilder.setCatchUpStorage(CatchUpStorage catchUpStorage)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setCatchUpStorage(CatchUpStorage catchUpStorage)
focal_class.identifier: setCatchUpStorage
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (CatchUpStorage catchUpStorage)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setCatchUpStorage(CatchUpStorage catchUpStorage)
focal_class.class_method_signature: DeliveryBuilder.setMonitor(DeliveryMonitor monitor)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setMonitor(DeliveryMonitor monitor)
focal_class.identifier: setMonitor
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (DeliveryMonitor monitor)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setMonitor(DeliveryMonitor monitor)
focal_class.class_method_signature: DeliveryBuilder.setPageSize(int pageSize)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setPageSize(int pageSize)
focal_class.identifier: setPageSize
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (int pageSize)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setPageSize(int pageSize)
focal_class.class_method_signature: DeliveryBuilder.setCatchUpPageSize(int catchUpPageSize)
focal_class.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setCatchUpPageSize(int catchUpPageSize)
focal_class.identifier: setCatchUpPageSize
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (int catchUpPageSize)
focal_class.return: DeliveryBuilder
focal_class.signature: DeliveryBuilder setCatchUpPageSize(int catchUpPageSize)
focal_class.class_method_signature: DeliveryBuilder.build()
focal_class.full_signature: @SuppressWarnings("PMD.NPathComplexity") // The readability of this method is fine. public Delivery build()
focal_class.identifier: build
focal_class.modifiers: @SuppressWarnings("PMD.NPathComplexity") // The readability of this method is fine. public
focal_class.parameters: ()
focal_class.return: Delivery
focal_class.signature: Delivery build()
focal_class.class_method_signature: DeliveryBuilder.storageFactory()
focal_class.full_signature: private static StorageFactory storageFactory()
focal_class.identifier: storageFactory
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: StorageFactory
focal_class.signature: StorageFactory storageFactory()
focal_method.body: @CanIgnoreReturnValue
      public DeliveryBuilder setPageSize(int pageSize) {
          checkArgument(pageSize > 0);
          this.pageSize = pageSize;
          return this;
      }
focal_method.class_method_signature: DeliveryBuilder.setPageSize(int pageSize)
focal_method.full_signature: @CanIgnoreReturnValue public DeliveryBuilder setPageSize(int pageSize)
focal_method.identifier: setPageSize
focal_method.invocations: checkArgument
focal_method.modifiers: @CanIgnoreReturnValue public
focal_method.parameters: (int pageSize)
focal_method.return: DeliveryBuilder
focal_method.signature: DeliveryBuilder setPageSize(int pageSize)