public class ProtobufMarshallerWriteContext extends ObjectOutputStream implements org.drools.core.marshalling.impl.MarshallerWriteContext
ObjectOutputStream.PutField| Modifier and Type | Field and Description |
|---|---|
PrintStream |
out |
Map<org.drools.core.reteoo.LeftTuple,Integer> |
terminalTupleMap |
Map<Class<?>,TimersOutputMarshaller> |
writersByClass |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING| Constructor and Description |
|---|
ProtobufMarshallerWriteContext(OutputStream stream,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.common.InternalWorkingMemory wm,
Map<Integer,org.drools.core.common.BaseNode> sinks,
org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory,
boolean marshalProcessInstances,
boolean marshalWorkItems,
org.kie.api.runtime.Environment env) |
ProtobufMarshallerWriteContext(OutputStream stream,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.common.InternalWorkingMemory wm,
Map<Integer,org.drools.core.common.BaseNode> sinks,
org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory,
org.kie.api.runtime.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
long |
getClockTime() |
org.kie.api.runtime.Environment |
getEnvironment() |
org.drools.core.impl.InternalKnowledgeBase |
getKnowledgeBase() |
protected org.kie.api.marshalling.ObjectMarshallingStrategy[] |
getMarshallingStrategy() |
org.kie.api.marshalling.ObjectMarshallingStrategyStore |
getObjectMarshallingStrategyStore() |
Object |
getParameterObject() |
Map<Integer,org.drools.core.common.BaseNode> |
getSinks() |
Map<org.kie.api.marshalling.ObjectMarshallingStrategy,org.kie.api.marshalling.ObjectMarshallingStrategy.Context> |
getStrategyContext() |
Integer |
getStrategyIndex(org.kie.api.marshalling.ObjectMarshallingStrategy strategy) |
Map<org.kie.api.marshalling.ObjectMarshallingStrategy,Integer> |
getUsedStrategies() |
org.drools.core.common.InternalWorkingMemory |
getWorkingMemory() |
Object |
getWriterForClass(Class<?> c) |
boolean |
isMarshalProcessInstances() |
boolean |
isMarshalWorkItems() |
void |
setClockTime(long clockTime) |
void |
setParameterObject(Object parameterObject) |
void |
setWriterForClass(Class<?> c,
Object writer) |
annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, flush, putFields, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTFclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, flush, write, write, write, writeObjectwriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic final Map<Class<?>,TimersOutputMarshaller> writersByClass
public final PrintStream out
public ProtobufMarshallerWriteContext(OutputStream stream, org.drools.core.impl.InternalKnowledgeBase kBase, org.drools.core.common.InternalWorkingMemory wm, Map<Integer,org.drools.core.common.BaseNode> sinks, org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory, org.kie.api.runtime.Environment env) throws IOException
IOExceptionpublic ProtobufMarshallerWriteContext(OutputStream stream, org.drools.core.impl.InternalKnowledgeBase kBase, org.drools.core.common.InternalWorkingMemory wm, Map<Integer,org.drools.core.common.BaseNode> sinks, org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory, boolean marshalProcessInstances, boolean marshalWorkItems, org.kie.api.runtime.Environment env) throws IOException
IOExceptionprotected org.kie.api.marshalling.ObjectMarshallingStrategy[] getMarshallingStrategy()
public Integer getStrategyIndex(org.kie.api.marshalling.ObjectMarshallingStrategy strategy)
getStrategyIndex in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic org.drools.core.impl.InternalKnowledgeBase getKnowledgeBase()
getKnowledgeBase in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic org.kie.api.marshalling.ObjectMarshallingStrategyStore getObjectMarshallingStrategyStore()
getObjectMarshallingStrategyStore in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic Object getParameterObject()
getParameterObject in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic void setParameterObject(Object parameterObject)
setParameterObject in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic org.drools.core.common.InternalWorkingMemory getWorkingMemory()
getWorkingMemory in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic Map<org.kie.api.marshalling.ObjectMarshallingStrategy,org.kie.api.marshalling.ObjectMarshallingStrategy.Context> getStrategyContext()
getStrategyContext in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic Map<org.kie.api.marshalling.ObjectMarshallingStrategy,Integer> getUsedStrategies()
getUsedStrategies in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic Map<Integer,org.drools.core.common.BaseNode> getSinks()
getSinks in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic boolean isMarshalProcessInstances()
isMarshalProcessInstances in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic boolean isMarshalWorkItems()
isMarshalWorkItems in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic org.kie.api.runtime.Environment getEnvironment()
getEnvironment in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic long getClockTime()
getClockTime in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic void setClockTime(long clockTime)
setClockTime in interface org.drools.core.marshalling.impl.MarshallerWriteContextpublic Object getWriterForClass(Class<?> c)
getWriterForClass in interface org.drools.core.marshalling.impl.MarshallerWriteContextCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.