Class ConsoleFactObserver

  • All Implemented Interfaces:
    org.factcast.core.subscription.observer.FactObserver, org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>

    public class ConsoleFactObserver
    extends Object
    implements org.factcast.core.subscription.observer.FactObserver
    • Constructor Detail

      • ConsoleFactObserver

        public ConsoleFactObserver​(Options opt)
    • Method Detail

      • onNext

        public void onNext​(org.factcast.core.Fact f)
        Specified by:
        onNext in interface org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
      • awaitTermination

        public void awaitTermination()
      • onCatchup

        public void onCatchup()
        Specified by:
        onCatchup in interface org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
      • onError

        public void onError​(Throwable exception)
        Specified by:
        onError in interface org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>