Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made CountMetric and MultiCountMetric serializable

  • Loading branch information...
commit 3e29f13e405c0d3460781f8f6b310092d332903a 1 parent 28251f7
Jason Jackson authored
View
2  src/jvm/backtype/storm/metric/api/CountMetric.java
@@ -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() {
View
2  src/jvm/backtype/storm/metric/api/MultiCountMetric.java
@@ -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() {
Please sign in to comment.
Something went wrong with that request. Please try again.