SimpleDataSourceConfig

sealed interface SimpleDataSourceConfig(source)

Configuration for creating a DataSource via SimpleDataSourceFactory.

Inheritors

Types

Link copied to clipboard
class Discovery(val hostname: String, val clusterName: String = "caplin", val name: String, val logDirectory: Path?, val localLabel: String = "-", val extraConfig: String? = null) : SimpleDataSourceConfig

Configuration for a DataSource that connects to a discovery service.

Link copied to clipboard
class Peer(val name: String, val logDirectory: Path? = null, val localLabel: String = "-", val extraConfig: String? = null, val incoming: SimpleDataSourceConfig.Peer.Incoming? = null, val outgoing: List<SimpleDataSourceConfig.Peer.Outgoing> = emptyList(), val requiredServices: List<String> = emptyList(), val devOverride: Boolean = false) : SimpleDataSourceConfig

Configuration for a DataSource that connects to specific peers.

Properties

Link copied to clipboard
abstract val extraConfig: String?

Any extra configuration to append to the configuration string.

Link copied to clipboard
abstract val localLabel: String

The local label for the DataSource.

Link copied to clipboard
abstract val logDirectory: Path?

The directory where log files will be written.

Link copied to clipboard
abstract val name: String

The name of the DataSource.