Package ome.security.basic
Class LightAdminPrivilegesCleanup
- java.lang.Object
-
- ome.security.basic.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 onMethodInvokingJobDetailFactoryBean.setConcurrent(boolean)
having disabled concurrency viafalse
.- 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()
-
-
-
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 JDBCdelay
- the interval to wait in between cleanups, in seconds
-
-