Package io.jans.as.server.service
Class CleanerTimer
- java.lang.Object
-
- io.jans.as.server.service.CleanerTimer
-
@ApplicationScoped @Named public class CleanerTimer extends java.lang.Object
- Version:
- August 9, 2017
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum
-
-
Field Summary
Fields Modifier and Type Field Description static int
BATCH_SIZE
-
Constructor Summary
Constructors Constructor Description CleanerTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cleanup(java.util.Map.Entry<java.lang.String,java.lang.Class<?>> baseDn, java.util.Date now, int batchSize)
void
initTimer()
void
process(io.jans.service.cdi.event.CleanerEvent cleanerEvent)
void
processImpl()
-
-
-
Field Detail
-
BATCH_SIZE
public static final int BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
initTimer
public void initTimer()
-
process
@Asynchronous public void process(@Observes io.jans.service.cdi.event.CleanerEvent cleanerEvent)
-
processImpl
public void processImpl()
-
cleanup
public int cleanup(java.util.Map.Entry<java.lang.String,java.lang.Class<?>> baseDn, java.util.Date now, int batchSize)
-
-