Package org.drools.persistence
Class SessionMarshallingHelper
java.lang.Object
org.drools.persistence.SessionMarshallingHelper
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMarshallingHelper(KieBase kbase, KieSessionConfiguration conf, Environment env) Exist Info, so load session from hereSessionMarshallingHelper(KieSession ksession, KieSessionConfiguration conf) new session, don't write now as info will request it on update callback -
Method Summary
Modifier and TypeMethodDescriptiongetConf()getKbase()byte[]loadSnapshot(byte[] bytes, KieSession ksession, KieSessionInitializer initializer)
-
Constructor Details
-
SessionMarshallingHelper
Exist Info, so load session from here -
SessionMarshallingHelper
new session, don't write now as info will request it on update callback
-
-
Method Details
-
getSnapshot
public byte[] getSnapshot() -
loadSnapshot
public KieSession loadSnapshot(byte[] bytes, KieSession ksession, KieSessionInitializer initializer) -
getObject
-
getKbase
-
getConf
-
getMarshaller
-