Package org.opennms.netmgt.dao
Class TransactionAwareEventForwarder.PendingEventsHolder
- java.lang.Object
-
- org.springframework.transaction.support.ResourceHolderSupport
-
- org.opennms.netmgt.dao.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
-
-
-
-
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 classorg.springframework.transaction.support.ResourceHolderSupport
-
hasPendingEvents
public boolean hasPendingEvents()
-
setPendingEventsList
public void setPendingEventsList(java.util.List<Log> pendingEvents)
-
-