Create a gist now

Instantly share code, notes, and snippets.

anonymous /
Created May 17, 2013

* This is the code that writes the commit statistics to Voldemort.
public Boolean process() {
GetDevStats query = new GetDevStats(30,Project.BOTH);
List<GitDeploymentStats> result = executor.submitAndGetResult(query);
EntityMarshaller<GitDeploymentStats> marshaller = KachingMarshallers.createEntityMarshaller(GitDeploymentStats.class);
String marshalled = marshaller.marshallList(result).toString();
client.put("dm-commit-stats", marshalled);
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment