Class GroupUpdater
- java.lang.Object
-
- mops.businesslogic.gruppenbildung.GroupUpdater
-
@Component @Profile("prod") public class GroupUpdater extends java.lang.Object
Component that updates our group database.
-
-
Constructor Summary
Constructors Constructor Description GroupUpdater(GruppenbildungsService gruppenbildungsService, LatestEventIdService latestEventIdService, GroupService groupService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateDatabase()
Scheduled function to update our database the external group event stream.
-
-
-
Constructor Detail
-
GroupUpdater
public GroupUpdater(GruppenbildungsService gruppenbildungsService, LatestEventIdService latestEventIdService, GroupService groupService)
-
-
Method Detail
-
updateDatabase
@Scheduled(fixedRate=60000L) public void updateDatabase() throws MopsException
Scheduled function to update our database the external group event stream.- Throws:
MopsException
-
-