This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.persistence.AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot | |
import akka.persistence.{SnapshotOffer, PersistentActor, AtLeastOnceDelivery} | |
import akka.actor.{Props, ActorSystem, ActorPath, Actor} | |
case class Message(data: String) | |
case class Confirmable(deliveryId: Long, data: String) | |
case class Confirmation(deliveryId: Long) | |
case class Snap(snapshot: AtLeastOnceDeliverySnapshot) | |
class ExampleAtLeastOnceDeliveryActor(val deliveryPath: ActorPath) extends PersistentActor with AtLeastOnceDelivery { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class inheritance - C# | |
public abstract class Ancestor {} | |
public class Descendant: Ancestor, IDisposable | |
{ | |
public void Dispose() {} | |
public virtual void MyVirt() {} | |
} | |
// class inheritance - F# |
NewerOlder