[rules-users] irrational behaviour by drools engine

Avin abhijeet.b.patil at jpmorgan.com
Fri Feb 14 07:05:15 EST 2014


Hi,
I cannot do that. This map is not a normal *hashmap is  gemfire region *as i
have mentioned. It is used to commnunicate with gemfire. So when i say i
have fact and when I say map.get(fact). its gemfire hitting its region. It
gets object for me from gemfire. *Gemfire is a database engine*.

so when i say EncapsulatingObject($key : id) it is going to assign value of
id to $key. It is from fact.

using this value as key i fetch it from map which is my gemfire region. *For
time being since i am exprementing i am converting this $key as string to
fetch it from map */else in real map all the values will be of type 
EncapsulatingObject and all of its keys will also be of type
EncapsulatingObject/
After i obtain my object from gemfire i will use its properties to match my
condition.

*This region actually holds millions of data* so i cannot copy this data to
my jvm and use it
I am trying to simulate some things for its possibility before i use it in
my development code.






--
View this message in context: http://drools.46999.n3.nabble.com/irrational-behaviour-by-drools-engine-tp4028104p4028119.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list