Class RecordCommonStatsJob

java.lang.Object
edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJob
All Implemented Interfaces:
JobContextConsumer

public class RecordCommonStatsJob extends Object implements 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.