Class CayenneTask

java.lang.Object
com.avoka.fc.core.util.CayenneTask
All Implemented Interfaces:
Runnable

public abstract class CayenneTask extends Object implements Runnable
Provide a runnable Cayenne task.
Since:
4.3.4
  • Constructor Details

    • CayenneTask

      public CayenneTask(jakarta.servlet.ServletContext servletContext, boolean clearDaoCaches)
      Create a Cayenne runnable task.
      Parameters:
      servletContext - the servlet context
      clearDaoCaches - the clear DAO caches flag
  • Method Details

    • performTask

      public abstract void performTask()
      Execute the task business logic.
    • run

      public void run()
      Perform the task.
      Specified by:
      run in interface Runnable
      See Also:
    • getServletContext

      public jakarta.servlet.ServletContext getServletContext()
      Returns:
      the servlet context