Interface MessageStorageAppender

All Known Subinterfaces:
MessageStorage, StorageSupplier
All Known Implementing Classes:
ThreadIndependentStorage, ThreadLocalStorage

public interface MessageStorageAppender
A storage for messages user needs to be notified, however they should not interrupt program execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMessages(@NotNull String processingId, @NotNull ProcessingMessage... messages)
    Add messages into the thread independent storage.
    void
    addMessages(@NotNull String processingId, @NotNull List<ProcessingMessage> messages)
    Add messages into the thread independent storage.
  • Method Details

    • addMessages

      void addMessages(@NotNull @NotNull String processingId, @NotNull @NotNull ProcessingMessage... messages)
      Add messages into the thread independent storage.
      Parameters:
      processingId - Processing identifier, to associate messages with.
      messages - Messages to append.
    • addMessages

      void addMessages(@NotNull @NotNull String processingId, @NotNull @NotNull List<ProcessingMessage> messages)
      Add messages into the thread independent storage.
      Parameters:
      processingId - Processing identifier, to associate messages with.
      messages - Messages to append.