Class StopDatafeedRequest

    • Constructor Detail

      • StopDatafeedRequest

        public StopDatafeedRequest​(String... datafeedIds)
        Close the specified Datafeeds via their unique datafeedIds
        Parameters:
        datafeedIds - must be non-null and non-empty and each datafeedId must be non-null
    • Method Detail

      • getDatafeedIds

        public List<String> getDatafeedIds()
        All the datafeedIds to be stopped
      • setTimeout

        public void setTimeout​(TimeValue timeout)
        How long to wait for the stop request to complete before timing out.
        Parameters:
        timeout - Default value: 30 minutes
      • getForce

        public Boolean getForce()
      • setForce

        public void setForce​(boolean force)
        Should the stopping be forced. Use to forcefully stop a datafeed
        Parameters:
        force - When true forcefully stop the datafeed. Defaults to false
      • getAllowNoDatafeeds

        public Boolean getAllowNoDatafeeds()
      • setAllowNoDatafeeds

        public void setAllowNoDatafeeds​(boolean allowNoDatafeeds)
        Whether to ignore if a wildcard expression matches no datafeeds. This includes _all string.
        Parameters:
        allowNoDatafeeds - When true ignore if wildcard or _all matches no datafeeds. Defaults to true
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object