Class DefaultStandaloneCleanupRepository
java.lang.Object
com.broadleafcommerce.data.tracking.jpa.messaging.DefaultStandaloneCleanupRepository
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.messaging.StandaloneCleanupRepository
public class DefaultStandaloneCleanupRepository
extends Object
implements com.broadleafcommerce.data.tracking.core.messaging.StandaloneCleanupRepository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.persistence.EntityManager
void
pruneRestingNotificationStates
(Duration beforeNow)
-
Constructor Details
-
DefaultStandaloneCleanupRepository
public DefaultStandaloneCleanupRepository()
-
-
Method Details
-
pruneRestingNotificationStates
@Transactional(propagation=REQUIRES_NEW) public void pruneRestingNotificationStates(@NonNull Duration beforeNow) - Specified by:
pruneRestingNotificationStates
in interfacecom.broadleafcommerce.data.tracking.core.messaging.StandaloneCleanupRepository
-
getEntityManager
public javax.persistence.EntityManager getEntityManager()
-