Class ExternalTemporaryPersistenceStrategy

java.lang.Object
com.aquima.web.config.content.ExternalTemporaryPersistenceStrategy
All Implemented Interfaces:
com.aquima.interactions.portal.ITemporaryPersistenceStrategy

@Component @RequestScope @ConditionalOnProperty(name="blueriq.session.session-manager", havingValue="external") public class ExternalTemporaryPersistenceStrategy extends Object implements com.aquima.interactions.portal.ITemporaryPersistenceStrategy
The temporary persistence strategy used when sessions are stored in a key-value store:
  • temporary content stored in a memory connection is placed on the request scope and deleted by an IContentManager wrapper when the scope is destroyed
  • for temporary content stored in a non-memory connection a cleanup job is scheduled
Since:
11.0
Author:
Petru Galanton
  • Constructor Details Link icon

    • ExternalTemporaryPersistenceStrategy Link icon

      public ExternalTemporaryPersistenceStrategy(com.aquima.interactions.process.scheduler.IScheduler scheduler, IExternalSessionManager sessionManager)
  • Method Details Link icon

    • createContentManagerFactory Link icon

      public com.aquima.interactions.portal.IContentManagerFactory createContentManagerFactory(com.aquima.interactions.portal.IContentManagerFactory delegate, com.aquima.interactions.portal.IPortalContext context)
      Specified by:
      createContentManagerFactory in interface com.aquima.interactions.portal.ITemporaryPersistenceStrategy