KotlinJupyterKernelService

class KotlinJupyterKernelService(kernelPorts: KernelPorts, scriptClasspath: List<File> = emptyList(), homeDir: File? = null, clientType: String? = null) : Closeable

A service class responsible for managing and running a kernel server. The server starts in a dedicated thread once the class is instantiated. To interrupt server, call close.

This class has no Spring specifics but is placed here because it's unnecessary anywhere else

Parameters

kernelPorts

The mapping of Jupyter socket types to the corresponding port numbers.

scriptClasspath

A list of files that represent the initial classpath for REPL snippets.

homeDir

The directory where libraries descriptors and caches are stored. It can be null.

clientType

Client type name, see JupyterClientType

Constructors

Link copied to clipboard
constructor(kernelPorts: KernelPorts, scriptClasspath: List<File> = emptyList(), homeDir: File? = null, clientType: String? = null)

Functions

Link copied to clipboard
open override fun close()