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-alpha07
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-alpha07
abstract void stop()

Called to stop the running instance of Trace Processor.

timeoutMessage

Added in 1.4.0-alpha07
default @NonNull String timeoutMessage()

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