Permalink
Browse files

made CountMetric and MultiCountMetric serializable

  • Loading branch information...
Jason Jackson
Jason Jackson committed Jan 17, 2013
1 parent 28251f7 commit 3e29f13e405c0d3460781f8f6b310092d332903a
@@ -2,7 +2,7 @@
import backtype.storm.metric.api.IMetric;
-public class CountMetric implements IMetric {
+public class CountMetric implements IMetric, java.io.Serializable {
long _value = 0;
public CountMetric() {
@@ -4,7 +4,7 @@
import java.util.HashMap;
import java.util.Map;
-public class MultiCountMetric implements IMetric {
+public class MultiCountMetric implements IMetric, java.io.Serializable {
Map<String, CountMetric> _value = new HashMap();
public MultiCountMetric() {

0 comments on commit 3e29f13

Please sign in to comment.