Class DefaultSessionSnapShooter

  • All Implemented Interfaces:
    org.kie.hacep.core.infra.SessionSnapshooter

    public class DefaultSessionSnapShooter
    extends Object
    implements org.kie.hacep.core.infra.SessionSnapshooter
    • Constructor Detail

      • DefaultSessionSnapShooter

        public DefaultSessionSnapShooter​(org.kie.hacep.EnvConfig envConfig,
                                         SnapshotOnDemandUtils snapshotOnDemandUtils)
    • Method Detail

      • serialize

        public void serialize​(org.kie.hacep.core.KieSessionContext kieSessionContext,
                              String lastInsertedEventkey,
                              long lastInsertedEventOffset)
        Specified by:
        serialize in interface org.kie.hacep.core.infra.SessionSnapshooter
      • deserialize

        public org.kie.hacep.core.infra.SnapshotInfos deserialize()
        Specified by:
        deserialize in interface org.kie.hacep.core.infra.SessionSnapshooter
      • getLastSnapshotTime

        public LocalDateTime getLastSnapshotTime()
        Specified by:
        getLastSnapshotTime in interface org.kie.hacep.core.infra.SessionSnapshooter