]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/producer/work_units/class_UnitProducer.php
Cruncher continued and rewritten to use states:
[hub.git] / application / hub / interfaces / producer / work_units / class_UnitProducer.php
index 31f8bcc226e64702dde911fdfcc83438f1e4e2ca..a5e1b67678c49e0ec5257b65ce39c324ca4870a4 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-interface UnitProducer extends Producer {
+interface UnitProducer extends Producer, Executor {
        /**
-        * Produces some work/test units and pushes them onto the queue
+        * Prepares the produces of some work/test units and pushes them onto the queue
         *
+        * @param       $stateInstance  An instance of a Stateable instance
         * @return      void
         */
-       function produceUnits ();
+       function prepareUnitProduction (Stateable $stateInstance);
 }
 
 // [EOF]