ServerLifecycleManager


@ExperimentalTraceProcessorApi
public interface ServerLifecycleManager


Summary

Public methods

abstract int

Called to Start an instance of Trace Processor

abstract void

Called to stop the running instance of Trace Processor.

default @NonNull String

Called to construct a more detailed failure message when TraceProcessor cannot be connected to.

Public methods

start

Added in 1.4.0
abstract int start()

Called to Start an instance of Trace Processor

Returns
int

the port to use to communicate to Trace Processor

stop

Added in 1.4.0
abstract void stop()

Called to stop the running instance of Trace Processor.

timeoutMessage

Added in 1.4.0
default @NonNull String timeoutMessage()

Called to construct a more detailed failure message when TraceProcessor cannot be connected to.