commit | bcb2b0a7eec53969d3fdcb1bebecd77e59874f90 | [log] [tgz] |
---|---|---|
author | madhusudancs <madhusudancs@123451ca-8445-de46-9d55-352943316053> | Thu Nov 29 10:59:28 2012 +0000 |
committer | madhusudancs <madhusudancs@123451ca-8445-de46-9d55-352943316053> | Thu Nov 29 10:59:28 2012 +0000 |
tree | ab9a301a93b5507f0eccaace5e36aeda980f94dc | |
parent | 82d17f7ac16e363ee4beabf5b32c7b7f8e35d40a [diff] |
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 +}