Package cs1302.tracer.trace
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.
Functional consumer for captured execution snapshots.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int line, ExecutionSnapshot snapshot) Consumes an execution snapshot recorded at a given line number.default voidmaterialize(byte[] sharedStdout, byte[] sharedStderr) Materializes all captured snapshot slices using shared output backing buffers.
-
Method Details
-
accept
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.
-