Class JdbcOutboxRepository

java.lang.Object
com.github.kuliginstepan.outbox.relational.autoconfigure.JdbcOutboxRepository
All Implemented Interfaces:
com.github.kuliginstepan.outbox.core.OutboxRepository

public class JdbcOutboxRepository
extends java.lang.Object
implements com.github.kuliginstepan.outbox.core.OutboxRepository
  • Constructor Summary

    Constructors
    Constructor Description
    JdbcOutboxRepository()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<com.github.kuliginstepan.outbox.core.OutboxEntity> findUncompletedEntities​(java.time.Instant notAfterDate)  
    void markCompleted​(com.github.kuliginstepan.outbox.core.OutboxEntity entity)  
    void save​(com.github.kuliginstepan.outbox.core.OutboxEntity entity)  

    Methods inherited from class java.lang.Object

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

    • JdbcOutboxRepository

      public JdbcOutboxRepository()
  • Method Details

    • save

      public void save​(com.github.kuliginstepan.outbox.core.OutboxEntity entity)
      Specified by:
      save in interface com.github.kuliginstepan.outbox.core.OutboxRepository
    • markCompleted

      public void markCompleted​(com.github.kuliginstepan.outbox.core.OutboxEntity entity)
      Specified by:
      markCompleted in interface com.github.kuliginstepan.outbox.core.OutboxRepository
    • findUncompletedEntities

      public java.util.List<com.github.kuliginstepan.outbox.core.OutboxEntity> findUncompletedEntities​(java.time.Instant notAfterDate)
      Specified by:
      findUncompletedEntities in interface com.github.kuliginstepan.outbox.core.OutboxRepository