Package-level declarations

Types

Link copied to clipboard
interface Aggregate<ID : Any>

Models the minimal set of aggregate operations. Holds the localId of the device executing the aggregate program.

Link copied to clipboard

Indicates that a function, class, or file should not be automatically instrumented with alignment behavior by the Collektive compiler plugin.

Link copied to clipboard
sealed interface DataSharingMethod<in DataType>

A method to share data between nodes in a network.

Link copied to clipboard

Represents methods intended to be used internally only. The usage of these methods is discouraged and should be avoided.

Link copied to clipboard
data object InMemory : DataSharingMethod<Any?>

In-memory share. No serialization. Working only across multiple nodes hosted on the same operating system (for instance, in simulation).

Link copied to clipboard
value class Serialize<DataType>(val serializer: KSerializer<DataType>) : DataSharingMethod<DataType>

Serialization-based share using kotlinx.serialization. The data is serialized and deserialized using the provided serializer.

Link copied to clipboard

Context for yielding operations (exchanging, sharing). Yielding operations operate on a Shared value (usually exchanged with neighbors), but return a differently typed value Returned to the caller.

Link copied to clipboard
data class YieldingResult<Shared, Return>(val toSend: Shared, val toReturn: Return)

Specifies the value toSend and the value toReturn of a yielding operator.