org.drools.common
Interface ObjectStore

All Known Implementing Classes:
SingleThreadedObjectStore

public interface ObjectStore


Method Summary
 void addHandle(InternalFactHandle handle, Object object)
           
 void clear()
           
 InternalFactHandle getHandleForObject(Object object)
           
 InternalFactHandle getHandleForObjectIdentity(Object object)
           
 Object getObjectForHandle(org.drools.runtime.rule.FactHandle handle)
           
 boolean isEmpty()
           
 Iterator iterateFactHandles()
          This class is not thread safe, changes to the working memory during iteration may give unexpected results
 Iterator iterateFactHandles(org.drools.runtime.ObjectFilter filter)
          This class is not thread safe, changes to the working memory during iteration may give unexpected results
 Iterator iterateObjects()
          This class is not thread safe, changes to the working memory during iteration may give unexpected results
 Iterator iterateObjects(org.drools.runtime.ObjectFilter filter)
          This class is not thread safe, changes to the working memory during iteration may give unexpected results
 InternalFactHandle reconnect(org.drools.runtime.rule.FactHandle factHandle)
           
 void removeHandle(org.drools.runtime.rule.FactHandle handle)
           
 int size()
           
 void updateHandle(InternalFactHandle handle, Object object)
           
 

Method Detail

size

int size()

isEmpty

boolean isEmpty()

clear

void clear()

getObjectForHandle

Object getObjectForHandle(org.drools.runtime.rule.FactHandle handle)

reconnect

InternalFactHandle reconnect(org.drools.runtime.rule.FactHandle factHandle)

getHandleForObject

InternalFactHandle getHandleForObject(Object object)

getHandleForObjectIdentity

InternalFactHandle getHandleForObjectIdentity(Object object)

updateHandle

void updateHandle(InternalFactHandle handle,
                  Object object)

addHandle

void addHandle(InternalFactHandle handle,
               Object object)

removeHandle

void removeHandle(org.drools.runtime.rule.FactHandle handle)

iterateObjects

Iterator iterateObjects()
This class is not thread safe, changes to the working memory during iteration may give unexpected results


iterateObjects

Iterator iterateObjects(org.drools.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results


iterateFactHandles

Iterator iterateFactHandles()
This class is not thread safe, changes to the working memory during iteration may give unexpected results


iterateFactHandles

Iterator iterateFactHandles(org.drools.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results



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