Github user davidyan74 commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/185#discussion_r47731190
  
    --- Diff: api/src/main/java/com/datatorrent/api/Context.java ---
    @@ -161,6 +161,13 @@
          */
         Attribute<Class<?>> TUPLE_CLASS = new Attribute<>(new 
Class2String<>());
     
    +    /**
    +     * Attribute of input port.
    +     * This is a read-only attribute to query whether the input port is 
connected to a DelayOperator
    +     * This is for iterative processing.
    +     */
    +    Attribute<Boolean> IS_CONNECTED_TO_DELAY_OPERATOR = new 
Attribute<>(false);
    --- End diff --
    
    I chose to use an attribute because it will be available in child container 
(namely GenericNode.java).  If there is a way to get to the InputPortMeta in 
that code, I'd prefer to put it there but it seems that InputPortMeta is only 
available in stram.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to