Drools :: Core 6.1.0.Beta1

org.drools.core.factmodel.traits
Class TypeCache

java.lang.Object
  extended by org.drools.core.factmodel.traits.TypeCache
All Implemented Interfaces:
Externalizable, Serializable

public class TypeCache
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
TypeCache()
           
 
Method Summary
 TypeWrapper get(String name)
           
 void init(WorkingMemory wm)
           
 boolean needsInit()
           
 void put(String name, TypeWrapper wrapper)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeCache

public TypeCache()
Method Detail

needsInit

public boolean needsInit()

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

get

public TypeWrapper get(String name)

put

public void put(String name,
                TypeWrapper wrapper)

init

public void init(WorkingMemory wm)

Drools :: Core 6.1.0.Beta1

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