SourceConnectivity

class SourceConnectivity


Data source metadata for a single trait.

Summary

Public constructors

SourceConnectivity(
    connectivityState: ConnectivityState,
    dataSourceLocality: LocalityType,
    backingHubs: Set<Id>
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

ConnectivityState

The connectivity state of this Trait's underlying data source.

LocalityType

The locality of this Trait's underlying data source.

Public constructors

SourceConnectivity

SourceConnectivity(
    connectivityState: ConnectivityState,
    dataSourceLocality: LocalityType,
    backingHubs: Set<Id> = emptySet()
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

connectivityState

val connectivityStateConnectivityState

The connectivity state of this Trait's underlying data source.

dataSourceLocality

val dataSourceLocalityLocalityType

The locality of this Trait's underlying data source.

Note: Subsequent commands and writes are not guaranteed to take this route.