Class CibaRequestsProcessorJob


  • @ApplicationScoped
    public class CibaRequestsProcessorJob
    extends java.lang.Object
    Job responsible to process all expired CIBA requests and update their status.
    Version:
    May 20, 2020
    Author:
    Milton BO
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CHUNK_SIZE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initTimer()
      Method invoked from the appInitializer to start processing every some time.
      void process​(org.gluu.service.cdi.event.CibaRequestsProcessorEvent cibaRequestsProcessorEvent)  
      void processImpl()
      Main process that process CIBA requests in cache.
      • Methods inherited from class java.lang.Object

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

      • CibaRequestsProcessorJob

        public CibaRequestsProcessorJob()
    • Method Detail

      • initTimer

        public void initTimer()
        Method invoked from the appInitializer to start processing every some time.
      • process

        @Asynchronous
        public void process​(@Observes
                            org.gluu.service.cdi.event.CibaRequestsProcessorEvent cibaRequestsProcessorEvent)
      • processImpl

        public void processImpl()
        Main process that process CIBA requests in cache.