Extend IDatasetInputChannelMonitor from IInputChannelMonitor rather than creating a new one altogether.

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_hyracks_result_distribution@2541 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-api/src/main/java/edu/uci/ics/hyracks/api/dataset/IDatasetInputChannelMonitor.java b/hyracks/hyracks-api/src/main/java/edu/uci/ics/hyracks/api/dataset/IDatasetInputChannelMonitor.java
index d184331..4561dde 100644
--- a/hyracks/hyracks-api/src/main/java/edu/uci/ics/hyracks/api/dataset/IDatasetInputChannelMonitor.java
+++ b/hyracks/hyracks-api/src/main/java/edu/uci/ics/hyracks/api/dataset/IDatasetInputChannelMonitor.java
@@ -14,16 +14,12 @@
  */
 package edu.uci.ics.hyracks.api.dataset;
 
-public interface IDatasetInputChannelMonitor {
-    public void notifyFailure(IDatasetInputChannel channel);
+import edu.uci.ics.hyracks.api.channels.IInputChannelMonitor;
 
-    public void notifyDataAvailability(IDatasetInputChannel channel, int nFrames);
-
-    public void notifyEndOfStream(IDatasetInputChannel channel);
-
+public interface IDatasetInputChannelMonitor extends IInputChannelMonitor {
     public boolean eosReached();
 
     public boolean failed();
 
     public int getNFramesAvailable();
-}
\ No newline at end of file
+}