wynot12 commented on a change in pull request #73: [Nemo-62] Support Multiple 
Jobs Submission in a Single User Program
URL: https://github.com/apache/incubator-nemo/pull/73#discussion_r201409021
 
 

 ##########
 File path: 
runtime/common/src/main/java/edu/snu/nemo/runtime/common/metric/StateMetric.java
 ##########
 @@ -15,13 +15,14 @@
  */
 package edu.snu.nemo.runtime.common.metric;
 
+import java.io.Serializable;
 import java.util.List;
 
 /**
  * Interface for metric which contians its state.
  * @param <T> class of state of the metric.
  */
-public interface StateMetric<T> extends Metric {
+public interface StateMetric<T extends Serializable> extends Metric {
 
 Review comment:
   Is it necessary for this PR?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to