Class PurgeDeviceLoginHistoricService
java.lang.Object
es.kukenan.smartfi.microservice.clients.service.schedule.PurgeDeviceLoginHistoricService
Service for periodic purge of device login historic.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeviceLoginHistoric repository.private LongValue of days for expire historic. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPurge olds records of device login historic from database with time condition.
-
Field Details
-
expiredDays
Value of days for expire historic. -
deviceLoginHistoricRepository
DeviceLoginHistoric repository.
-
-
Constructor Details
-
PurgeDeviceLoginHistoricService
public PurgeDeviceLoginHistoricService()
-
-
Method Details
-
purgeOldsDeviceLoginHistoricRecords
@Scheduled(cron="${expired.login.historic.days.cron}") public void purgeOldsDeviceLoginHistoricRecords()Purge olds records of device login historic from database with time condition.
-