io.cloudstate.javasupport.impl.crdt.InternalCrdt.scala Maven / Gradle / Ivy
package io.cloudstate.javasupport.impl.crdt
import io.cloudstate.javasupport.crdt.Crdt
import io.cloudstate.protocol.crdt.{CrdtDelta, CrdtState}
private[crdt] trait InternalCrdt extends Crdt {
def name: String
def hasDelta: Boolean
def delta: Option[CrdtDelta.Delta]
def resetDelta(): Unit
def state: CrdtState.State
def applyDelta: PartialFunction[CrdtDelta.Delta, Unit]
def applyState: PartialFunction[CrdtState.State, Unit]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy