Interface SandboxSnapshotSpec
- All Known Implementing Classes:
LocalSnapshotSpec,NoopSnapshotSpec,RemoteSnapshotSpec
public interface SandboxSnapshotSpec
Factory that creates
SandboxSnapshot instances for a given session ID.
Implementations configure WHERE snapshots are stored:
NoopSnapshotSpec (disabled), LocalSnapshotSpec (local disk),
RemoteSnapshotSpec (remote storage).
The snapshotId parameter passed to build(java.lang.String) allows each session to have
its own isolated snapshot file/object, while sharing the same storage configuration.
-
Method Summary
-
Method Details
-
build
Creates aSandboxSnapshotfor the given session ID.- Parameters:
snapshotId- unique identifier for the snapshot (typically the session UUID)- Returns:
- a new snapshot instance configured for the given ID
-