quarks.oplet

Interface Oplet<I,O>

    • Method Detail

      • initialize

        void initialize(OpletContext<I,O> context)
                 throws java.lang.Exception
        Initialize the oplet.
        Parameters:
        context -
        Throws:
        java.lang.Exception
      • start

        void start()
        Start the oplet. Oplets must not submit any tuples not derived from input tuples until this method is called.
      • getInputs

        java.util.List<? extends Consumer<I>> getInputs()
        Get the input stream data handlers for this oplet. The number of handlers must equal the number of configured input ports. Each tuple arriving on an input port will be sent to the stream handler for that input port.
        Returns:
        list of consumers

Copyright IBM 2015,2016 - 2f6ad0e-20160307-0902