Package edu.ucsb.cs156.happiercows.jobs
Class RecordCommonStatsJob
java.lang.Object
edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJob
- All Implemented Interfaces:
JobContextConsumer
This job computes the stats for all games in progress and creates one new row in the CommonsStats table for each commons. It uses the Average Cow Health Service to compute the cowhealth for each commons.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RecordCommonStatsJob
public RecordCommonStatsJob()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceJobContextConsumer
- Throws:
Exception
-