public class PersisterHelper
extends org.drools.core.marshalling.impl.MarshallingHelper
| Constructor and Description |
|---|
PersisterHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.ExtensionRegistry |
buildRegistry(org.drools.core.marshalling.impl.MarshallerReaderContext context,
org.drools.core.marshalling.impl.ProcessMarshaller processMarshaller) |
static ProtobufMessages.Activation |
createActivation(String packageName,
String ruleName,
org.drools.core.spi.Tuple tuple) |
static org.drools.core.marshalling.impl.ActivationKey |
createActivationKey(String pkgName,
String ruleName,
ProtobufMessages.Tuple _tuple) |
static ProtobufMessages.Tuple |
createTuple(org.drools.core.spi.Tuple leftTuple) |
static long[] |
createTupleArray(ProtobufMessages.Tuple _tuple) |
static org.drools.core.marshalling.impl.TupleKey |
createTupleKey(ProtobufMessages.Tuple _tuple) |
static org.drools.core.common.WorkingMemoryAction |
deserializeWorkingMemoryAction(org.drools.core.marshalling.impl.MarshallerReaderContext context,
ProtobufMessages.ActionQueue.Action _action) |
static ProtobufMessages.Header |
readFromStreamWithHeaderPreloaded(org.drools.core.marshalling.impl.MarshallerReaderContext context,
com.google.protobuf.ExtensionRegistry registry) |
static void |
readRuntimeDefinedClasses(ProtobufMessages.Header _header,
org.drools.reflective.classloader.ProjectClassLoader pcl) |
static org.drools.core.common.WorkingMemoryAction |
readWorkingMemoryAction(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
void |
write(ProtobufMarshallerWriteContext context) |
static void |
writeToStreamWithHeader(org.drools.core.marshalling.impl.MarshallerWriteContext context,
com.google.protobuf.Message payload) |
public static org.drools.core.common.WorkingMemoryAction readWorkingMemoryAction(org.drools.core.marshalling.impl.MarshallerReaderContext context)
throws IOException
IOExceptionpublic static org.drools.core.common.WorkingMemoryAction deserializeWorkingMemoryAction(org.drools.core.marshalling.impl.MarshallerReaderContext context,
ProtobufMessages.ActionQueue.Action _action)
throws IOException
IOExceptionpublic void write(ProtobufMarshallerWriteContext context) throws IOException
IOExceptionpublic static org.drools.core.marshalling.impl.ActivationKey createActivationKey(String pkgName, String ruleName, ProtobufMessages.Tuple _tuple)
public static ProtobufMessages.Tuple createTuple(org.drools.core.spi.Tuple leftTuple)
public static long[] createTupleArray(ProtobufMessages.Tuple _tuple)
public static org.drools.core.marshalling.impl.TupleKey createTupleKey(ProtobufMessages.Tuple _tuple)
public static ProtobufMessages.Activation createActivation(String packageName, String ruleName, org.drools.core.spi.Tuple tuple)
public static void writeToStreamWithHeader(org.drools.core.marshalling.impl.MarshallerWriteContext context,
com.google.protobuf.Message payload)
throws IOException
IOExceptionpublic static ProtobufMessages.Header readFromStreamWithHeaderPreloaded(org.drools.core.marshalling.impl.MarshallerReaderContext context, com.google.protobuf.ExtensionRegistry registry) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void readRuntimeDefinedClasses(ProtobufMessages.Header _header, org.drools.reflective.classloader.ProjectClassLoader pcl) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static com.google.protobuf.ExtensionRegistry buildRegistry(org.drools.core.marshalling.impl.MarshallerReaderContext context,
org.drools.core.marshalling.impl.ProcessMarshaller processMarshaller)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.