Class JqwikSession


@API(status=MAINTAINED, since="1.8.0") public class JqwikSession extends Object
JqwikSession is the abstraction to give users of Arbitrary.sample() and Arbitrary.sampleStream() outside the jqwik lifecycle more control over the lifecycle. This has also influence on memory heap usage since an un-finished session will aggregate state, e.g. through caching and other stores.
  • Constructor Details

    • JqwikSession

      public JqwikSession()
  • Method Details

    • start

      public static void start()
    • isActive

      public static boolean isActive()
    • finish

      public static void finish()
    • finishTry

      public static void finishTry()
    • run

      public static void run(JqwikSession.Runnable runnable)