Schnittstelle Iterator.OnIteratorResyncFunction

Umschließende Klasse:
Iterator
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Iterator.OnIteratorResyncFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    This function will be called whenever a concurrent update happened
    to the iterated datastructure.
  • Methodendetails

    • onIteratorResyncFunction

      void onIteratorResyncFunction(CallbackHandler __self, @Nonnull Iterator it)
      This function will be called whenever a concurrent update happened
      to the iterated datastructure. The implementor of the iterator should
      restart the iterator from the beginning and clean up any state it might
      have.

      Implementors of a #GstIterator should implement this
      function and pass it to the constructor of the custom iterator.
      The function will be called with the iterator lock held.
      Parameter:
      it - the iterator