Interface Twin

    • Method Detail

      • startConsumption

        java.util.concurrent.CompletionStage<java.lang.Void> startConsumption​(Option<?>... consumptionOptions)
        Start consuming changes on this twin() channel with the passed consumptionOptions.
        Specified by:
        startConsumption in interface CommonManagement<TwinThingHandle,​TwinFeatureHandle>
        Parameters:
        consumptionOptions - specifies the ConsumptionOptions to apply. Pass them in via:
        Options.Consumption.namespaces("org.eclipse.ditto.namespace1","org.eclipse.ditto.namespace2");
         Options.Consumption.filter("gt(attributes/counter,42)");
         
        Returns:
        a CompletionStage that terminates when the start operation was successful or fails with ClientReconnectingException if the client is in a reconnecting state.
      • search

        TwinSearchHandle search()
        Retrieve the handle for search operations.
        Returns:
        the search handle.
        Since:
        1.1.0