public class ProtobufInputMarshaller extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtobufInputMarshaller.PBActivationsFilter |
static class |
ProtobufInputMarshaller.QueryElementContext |
| Constructor and Description |
|---|
ProtobufInputMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
static void |
readActionQueue(ProtobufMarshallerReaderContext context,
ProtobufMessages.RuleData _session) |
static void |
readAgenda(ProtobufMarshallerReaderContext context,
ProtobufMessages.RuleData _ruleData,
org.drools.core.common.InternalAgenda agenda) |
static org.drools.core.common.InternalFactHandle |
readFactHandle(ProtobufMarshallerReaderContext context,
org.kie.api.runtime.rule.EntryPoint entryPoint,
ProtobufMessages.FactHandle _handle) |
static void |
readFactHandles(ProtobufMarshallerReaderContext context,
ProtobufMessages.EntryPoint _ep,
org.drools.core.common.ObjectStore objectStore,
List<org.drools.core.spi.PropagationContext> pctxs) |
static ReadSessionResult |
readSession(ProtobufMarshallerReaderContext context,
int id)
Create a new session into which to read the stream data
|
static ReadSessionResult |
readSession(ProtobufMarshallerReaderContext context,
int id,
org.kie.api.runtime.Environment environment,
org.drools.core.SessionConfiguration config) |
static ReadSessionResult |
readSession(ProtobufMarshallerReaderContext context,
int id,
org.kie.api.runtime.Environment environment,
org.drools.core.SessionConfiguration config,
org.drools.core.marshalling.impl.KieSessionInitializer initializer) |
static org.drools.core.impl.StatefulKnowledgeSessionImpl |
readSession(ProtobufMessages.KnowledgeSession _session,
org.drools.core.impl.StatefulKnowledgeSessionImpl session,
org.drools.core.common.InternalAgenda agenda,
ProtobufMarshallerReaderContext context) |
static org.drools.core.impl.StatefulKnowledgeSessionImpl |
readSession(org.drools.core.impl.StatefulKnowledgeSessionImpl session,
ProtobufMarshallerReaderContext context)
Stream the data into an existing session
|
static void |
readTimer(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx,
ProtobufMessages.Timers.Timer _timer) |
static org.drools.core.time.Trigger |
readTrigger(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx,
ProtobufMessages.Trigger _trigger) |
static void |
readTruthMaintenanceSystem(ProtobufMarshallerReaderContext context,
org.kie.api.runtime.rule.EntryPoint wmep,
ProtobufMessages.EntryPoint _ep,
List<org.drools.core.spi.PropagationContext> pctxs) |
static org.drools.core.process.instance.WorkItem |
readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
public static org.drools.core.impl.StatefulKnowledgeSessionImpl readSession(org.drools.core.impl.StatefulKnowledgeSessionImpl session,
ProtobufMarshallerReaderContext context)
throws IOException,
ClassNotFoundException
session - context - IOExceptionClassNotFoundExceptionpublic static ReadSessionResult readSession(ProtobufMarshallerReaderContext context, int id) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static ReadSessionResult readSession(ProtobufMarshallerReaderContext context, int id, org.kie.api.runtime.Environment environment, org.drools.core.SessionConfiguration config) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static ReadSessionResult readSession(ProtobufMarshallerReaderContext context, int id, org.kie.api.runtime.Environment environment, org.drools.core.SessionConfiguration config, org.drools.core.marshalling.impl.KieSessionInitializer initializer) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static org.drools.core.impl.StatefulKnowledgeSessionImpl readSession(ProtobufMessages.KnowledgeSession _session, org.drools.core.impl.StatefulKnowledgeSessionImpl session, org.drools.core.common.InternalAgenda agenda, ProtobufMarshallerReaderContext context) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void readAgenda(ProtobufMarshallerReaderContext context, ProtobufMessages.RuleData _ruleData, org.drools.core.common.InternalAgenda agenda)
public static void readActionQueue(ProtobufMarshallerReaderContext context, ProtobufMessages.RuleData _session) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void readFactHandles(ProtobufMarshallerReaderContext context, ProtobufMessages.EntryPoint _ep, org.drools.core.common.ObjectStore objectStore, List<org.drools.core.spi.PropagationContext> pctxs) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static org.drools.core.common.InternalFactHandle readFactHandle(ProtobufMarshallerReaderContext context, org.kie.api.runtime.rule.EntryPoint entryPoint, ProtobufMessages.FactHandle _handle) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void readTruthMaintenanceSystem(ProtobufMarshallerReaderContext context, org.kie.api.runtime.rule.EntryPoint wmep, ProtobufMessages.EntryPoint _ep, List<org.drools.core.spi.PropagationContext> pctxs) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void readTimer(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx,
ProtobufMessages.Timers.Timer _timer)
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static org.drools.core.time.Trigger readTrigger(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx,
ProtobufMessages.Trigger _trigger)
public static org.drools.core.process.instance.WorkItem readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.