Class EHistoricPublishFeed.Builder

  • Enclosing class:
    EHistoricPublishFeed

    public static final class EHistoricPublishFeed.Builder
    extends EAbstractHistoricFeed.Builder<IEHistoricPublisher,​EHistoricPublishFeed,​EHistoricPublishFeed.Builder>
    Builder is used to instantiate EHistoricPublishFeed instances. A builder instance is acquired via EHistoricPublishFeed.builder(EMessageKey, IEHistoricPublisher) which requires that a non-null notification message key and historic publisher instance be provided. This message key defines the notification message class and subject published and persisted by the historic publish feed. The publisher is the historic publish feed owner. The historic publish feed is an eBus hybrid object and runs in the owner's dispatcher. This historic publisher provides a unique publisher identifier (note that eBus cannot determine identifier is unique),

    This builder requires the following properties be defined (beside those properties required by EAbstractHistoricFeed.Builder):

    It is recommended that each builder instance be used to create only one historic publish feed.