Drools :: Core 6.2.0.CR4

org.drools.core.marshalling.impl
Class MarshallerWriteContext

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ObjectOutputStream
          extended by org.drools.core.marshalling.impl.MarshallerWriteContext
All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants

public class MarshallerWriteContext
extends ObjectOutputStream


Nested Class Summary
 
Nested classes/interfaces inherited from class java.io.ObjectOutputStream
ObjectOutputStream.PutField
 
Field Summary
 long clockTime
           
 org.kie.api.runtime.Environment env
           
 InternalKnowledgeBase kBase
           
 boolean marshalProcessInstances
           
 boolean marshalWorkItems
           
 org.kie.api.marshalling.ObjectMarshallingStrategyStore objectMarshallingStrategyStore
           
 PrintStream out
           
 Object parameterObject
           
 Map<Integer,BaseNode> sinks
           
 Map<org.kie.api.marshalling.ObjectMarshallingStrategy,org.kie.api.marshalling.ObjectMarshallingStrategy.Context> strategyContext
           
 MarshallerWriteContext stream
           
 Map<LeftTuple,Integer> terminalTupleMap
           
 Map<org.kie.api.marshalling.ObjectMarshallingStrategy,Integer> usedStrategies
           
 InternalWorkingMemory wm
           
 Map<Class<?>,TimersOutputMarshaller> writersByClass
           
 
Fields inherited from interface java.io.ObjectStreamConstants
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 Summary
MarshallerWriteContext(OutputStream stream, InternalKnowledgeBase kBase, InternalWorkingMemory wm, Map<Integer,BaseNode> sinks, org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory, boolean marshalProcessInstances, boolean marshalWorkItems, org.kie.api.runtime.Environment env)
           
MarshallerWriteContext(OutputStream stream, InternalKnowledgeBase kBase, InternalWorkingMemory wm, Map<Integer,BaseNode> sinks, org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory, org.kie.api.runtime.Environment env)
           
 
Method Summary
 Integer getStrategyIndex(org.kie.api.marshalling.ObjectMarshallingStrategy strategy)
           
 
Methods inherited from class java.io.ObjectOutputStream
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, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

public final MarshallerWriteContext stream

kBase

public final InternalKnowledgeBase kBase

wm

public final InternalWorkingMemory wm

sinks

public final Map<Integer,BaseNode> sinks

clockTime

public long clockTime

writersByClass

public final Map<Class<?>,TimersOutputMarshaller> writersByClass

out

public final PrintStream out

objectMarshallingStrategyStore

public final org.kie.api.marshalling.ObjectMarshallingStrategyStore objectMarshallingStrategyStore

usedStrategies

public final Map<org.kie.api.marshalling.ObjectMarshallingStrategy,Integer> usedStrategies

strategyContext

public final Map<org.kie.api.marshalling.ObjectMarshallingStrategy,org.kie.api.marshalling.ObjectMarshallingStrategy.Context> strategyContext

terminalTupleMap

public final Map<LeftTuple,Integer> terminalTupleMap

marshalProcessInstances

public final boolean marshalProcessInstances

marshalWorkItems

public final boolean marshalWorkItems

env

public final org.kie.api.runtime.Environment env

parameterObject

public Object parameterObject
Constructor Detail

MarshallerWriteContext

public MarshallerWriteContext(OutputStream stream,
                              InternalKnowledgeBase kBase,
                              InternalWorkingMemory wm,
                              Map<Integer,BaseNode> sinks,
                              org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory,
                              org.kie.api.runtime.Environment env)
                       throws IOException
Throws:
IOException

MarshallerWriteContext

public MarshallerWriteContext(OutputStream stream,
                              InternalKnowledgeBase kBase,
                              InternalWorkingMemory wm,
                              Map<Integer,BaseNode> sinks,
                              org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory,
                              boolean marshalProcessInstances,
                              boolean marshalWorkItems,
                              org.kie.api.runtime.Environment env)
                       throws IOException
Throws:
IOException
Method Detail

getStrategyIndex

public Integer getStrategyIndex(org.kie.api.marshalling.ObjectMarshallingStrategy strategy)

Drools :: Core 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.