Class CleanerTimer


  • @ApplicationScoped
    @Named
    public class CleanerTimer
    extends java.lang.Object
    Version:
    August 9, 2017
    Author:
    Yuriy Zabrovarnyy, Javier Rojas Blum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BATCH_SIZE  
    • Constructor Summary

      Constructors 
      Constructor Description
      CleanerTimer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cleanup​(java.util.Map.Entry<java.lang.String,​java.lang.Class<?>> baseDn, java.util.Date now, int batchSize)  
      void initTimer()  
      void process​(io.jans.service.cdi.event.CleanerEvent cleanerEvent)  
      void processImpl()  
      • Methods inherited from class java.lang.Object

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

      • CleanerTimer

        public CleanerTimer()
    • Method Detail

      • initTimer

        public void initTimer()
      • process

        @Asynchronous
        public void process​(@Observes
                            io.jans.service.cdi.event.CleanerEvent cleanerEvent)
      • processImpl

        public void processImpl()
      • cleanup

        public int cleanup​(java.util.Map.Entry<java.lang.String,​java.lang.Class<?>> baseDn,
                           java.util.Date now,
                           int batchSize)