Class CaptureControlClient
java.lang.Object
com.shaft.capture.control.CaptureControlClient
Authenticated client for a detached local capture recorder.
-
Constructor Summary
ConstructorsConstructorDescriptionCaptureControlClient(Path runtimeDirectory) Creates a client for one runtime directory. -
Method Summary
Modifier and TypeMethodDescriptioncheckpoint(String description, Checkpoint.CheckpointKind kind) Adds a checkpoint to the active recorder.status()Returns active endpoint status or the final local status snapshot.stop(boolean discard) Stops the active recorder.
-
Constructor Details
-
CaptureControlClient
Creates a client for one runtime directory.- Parameters:
runtimeDirectory- local runtime directory
-
-
Method Details
-
status
Returns active endpoint status or the final local status snapshot.- Returns:
- safe status
-
checkpoint
Adds a checkpoint to the active recorder.- Parameters:
description- checkpoint descriptionkind- checkpoint kind- Returns:
- updated status
-
stop
Stops the active recorder.- Parameters:
discard- whether to delete capture artifacts- Returns:
- final status
-