Interface PersistentGuestSession.SnapshotSink

Enclosing class:
PersistentGuestSession
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PersistentGuestSession.SnapshotSink
Functional consumer for captured execution snapshots.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int line, ExecutionSnapshot snapshot)
    Consumes an execution snapshot recorded at a given line number.
    default void
    materialize(byte[] sharedStdout, byte[] sharedStderr)
    Materializes all captured snapshot slices using shared output backing buffers.
  • Method Details

    • accept

      void accept(int line, ExecutionSnapshot snapshot)
      Consumes an execution snapshot recorded at a given line number.
      Parameters:
      line - Line number or -1 for entry exit.
      snapshot - Recorded execution snapshot.
    • materialize

      default void materialize(byte[] sharedStdout, byte[] sharedStderr)
      Materializes all captured snapshot slices using shared output backing buffers.
      Parameters:
      sharedStdout - Shared standard output buffer.
      sharedStderr - Shared standard error buffer.