Class TransactionAwareEventForwarder.PendingEventsHolder

  • All Implemented Interfaces:
    org.springframework.transaction.support.ResourceHolder
    Enclosing class:
    TransactionAwareEventForwarder

    public static class TransactionAwareEventForwarder.PendingEventsHolder
    extends org.springframework.transaction.support.ResourceHolderSupport
    • Constructor Summary

      Constructors 
      Constructor Description
      PendingEventsHolder​(java.util.List<Log> pendingEvents)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.util.List<Log> consumePendingEvents()  
      java.util.List<Log> getPendingEvents()  
      boolean hasPendingEvents()  
      void setPendingEventsList​(java.util.List<Log> pendingEvents)  
      • Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport

        getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
      • Methods inherited from class java.lang.Object

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

      • PendingEventsHolder

        public PendingEventsHolder​(java.util.List<Log> pendingEvents)
    • Method Detail

      • consumePendingEvents

        public java.util.List<Log> consumePendingEvents()
      • getPendingEvents

        public java.util.List<Log> getPendingEvents()
      • clear

        public void clear()
        Overrides:
        clear in class org.springframework.transaction.support.ResourceHolderSupport
      • hasPendingEvents

        public boolean hasPendingEvents()
      • setPendingEventsList

        public void setPendingEventsList​(java.util.List<Log> pendingEvents)