Class DataQueryExectutorTask


  • @Component
    @Scope("prototype")
    public class DataQueryExectutorTask
    extends org.openforis.concurrency.Task
    Author:
    S. Ricci
    • Constructor Detail

      • DataQueryExectutorTask

        public DataQueryExectutorTask()
    • Method Detail

      • countTotalItems

        protected long countTotalItems()
        Overrides:
        countTotalItems in class org.openforis.concurrency.Task
      • initializeInternalVariables

        protected void initializeInternalVariables()
                                            throws Throwable
        Overrides:
        initializeInternalVariables in class org.openforis.concurrency.Worker
        Throws:
        Throwable
      • onCompleted

        protected void onCompleted()
        Overrides:
        onCompleted in class org.openforis.concurrency.Worker
      • execute

        @Transactional
        protected void execute()
                        throws Throwable
        Specified by:
        execute in class org.openforis.concurrency.Worker
        Throws:
        Throwable