Class LightAdminPrivilegesCleanup

  • All Implemented Interfaces:
    java.lang.Runnable

    public class LightAdminPrivilegesCleanup
    extends java.lang.Object
    implements java.lang.Runnable
    Periodically clean up old entries from the _current_admin_privileges database table. Relies on MethodInvokingJobDetailFactoryBean.setConcurrent(boolean) having disabled concurrency via false.
    Since:
    5.4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      LightAdminPrivilegesCleanup​(ome.util.SqlAction sqlAction, int delay)
      Start a new scheduled repeating task for cleaning up the _current_admin_privileges database table.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • LightAdminPrivilegesCleanup

        public LightAdminPrivilegesCleanup​(ome.util.SqlAction sqlAction,
                                           int delay)
        Start a new scheduled repeating task for cleaning up the _current_admin_privileges database table.
        Parameters:
        sqlAction - the SQL action to use for executing the cleanup JDBC
        delay - the interval to wait in between cleanups, in seconds
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable