Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
made CountMetric and MultiCountMetric serializable
  • Loading branch information
Jason Jackson committed Jan 17, 2013
1 parent 28251f7 commit 3e29f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jvm/backtype/storm/metric/api/CountMetric.java
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/jvm/backtype/storm/metric/api/MultiCountMetric.java
Expand Up @@ -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() {
Expand Down

0 comments on commit 3e29f13

Please sign in to comment.