public class DefaultSessionSnapShooter extends Object implements SessionSnapshooter
| Constructor and Description |
|---|
DefaultSessionSnapShooter(EnvConfig envConfig,
SnapshotOnDemandUtils snapshotOnDemandUtils) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotInfos |
deserialize() |
LocalDateTime |
getLastSnapshotTime() |
void |
serialize(KieSessionContext kieSessionContext,
String lastInsertedEventkey,
long lastInsertedEventOffset) |
public static final String KEY
public DefaultSessionSnapShooter(EnvConfig envConfig, SnapshotOnDemandUtils snapshotOnDemandUtils)
public void serialize(KieSessionContext kieSessionContext, String lastInsertedEventkey, long lastInsertedEventOffset)
serialize in interface SessionSnapshooterpublic SnapshotInfos deserialize()
deserialize in interface SessionSnapshooterpublic LocalDateTime getLastSnapshotTime()
getLastSnapshotTime in interface SessionSnapshooterCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.