Class TaskManager

    • Constructor Detail

      • TaskManager

        public TaskManager()
        Deprecated.
        Never call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener. Each manager is created once for each tenant.
    • Method Detail

      • getInstance

        @Deprecated(since="ages",
                    forRemoval=false)
        public static TaskManager getInstance()
        Deprecated.
        since ages
        Get the valid instance of this manager.
        Returns:
        the current instance of this manager
      • getInstance

        @Deprecated(since="ages",
                    forRemoval=false)
        public static TaskManager getInstance​(Tenant t)
        Deprecated.
        since ages
      • getTaskEngine

        @Deprecated(since="ages",
                    forRemoval=false)
        protected TaskEngine getTaskEngine()
        Deprecated.
        since ages
      • startEngine

        @Deprecated(since="ages",
                    forRemoval=false)
        protected void startEngine()
        Deprecated.
        since ages
        Starts the actual task engine. Internally a polling thread is polling scheduled tasks from database and performs them asynchronously.
      • stopEngine

        @Deprecated(since="ages",
                    forRemoval=false)
        protected void stopEngine()
        Deprecated.
        since ages
        Stops the task engine. From now on scheduled tasks are not longer performed at this platform instance. Please note that other nodes may still be running and perform tasks.
      • notifyInitializationEnd

        @Deprecated(since="ages",
                    forRemoval=false)
        public void notifyInitializationEnd​(java.util.Map<java.lang.String,​java.lang.String> params,
                                            JspContext ctx)
                                     throws java.lang.Exception
        Deprecated.
        since ages
        Starts task engine after system update / initialization.
        Overrides:
        notifyInitializationEnd in class Extension
        Throws:
        java.lang.Exception
      • notifyInitializationStart

        @Deprecated(since="ages",
                    forRemoval=false)
        public void notifyInitializationStart​(java.util.Map<java.lang.String,​java.lang.String> params,
                                              JspContext ctx)
                                       throws java.lang.Exception
        Deprecated.
        since ages
        Stops task engine for the time of system update / initialization.
        Overrides:
        notifyInitializationStart in class Extension
        Throws:
        java.lang.Exception