-
public final class TraceSliceImmutable view of a drained trace buffer together with a rollback action.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<TraceRecord>snapshotprivate final Function0<Unit>rollback
-
Constructor Summary
Constructors Constructor Description TraceSlice(List<TraceRecord> snapshot, Function0<Unit> rollback)
-
Method Summary
Modifier and Type Method Description final List<TraceRecord>getSnapshot()final Function0<Unit>getRollback()-
-
Constructor Detail
-
TraceSlice
TraceSlice(List<TraceRecord> snapshot, Function0<Unit> rollback)
-
-
Method Detail
-
getSnapshot
final List<TraceRecord> getSnapshot()
-
getRollback
final Function0<Unit> getRollback()
-
-
-
-