Currently as my understand. the treecache only support two type transactions
1. new instance putting can rollback.
2. remove instance from cache can rollback.
i think that is a limitation for treecache but can not found any explication
about that in the treecache document.
View the original post
"[EMAIL PROTECTED]" wrote : That looks like it should work. The cache should
be participating in the tx as a Synchronization, and when the tx rolls back,
the cache modifications should roll back.
|
| What specifically do you do in "cacheoperation"?
the session bean method will invoke this
Dear All,
I used TreeCache 1.4.0.GA and Jboss 4.0. currently need to support cache
transaction in CMT. in the session bean method, the db operation will be
rollbacked while cache operation won't when exception is threw.
how to support cache transaction in cmt?
Thanks for any help.
code
yes
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963949#3963949
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963949
___
jboss-user mailing list
jboss-user@lists.jboss.org
For 2
I found the result affect by passivation configuration. once it configured as
false, program runs well.
you can view my other thread for the test resule.
maybe i misunderstand the meaning of the configuration element
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87932
View the
Has anybody test this issue or it just my PC's problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963691#3963691
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963691
___
Hi,
For currently evict policy only support node level. so I use one onde to
store one object. but I hit some problem when implement that.
Had anyone tried put 1,000,000 nodes in TreeCache. when using JDBC cache
loader(local mysql database), the performance is quite poor while
BdbjeCacheLo
"[EMAIL PROTECTED]" wrote : 1. PojoCache does not support pure eviction. That
is, it will support pure cache loader (persistency) or passivation (eviction +
cacheloading).
|
| 2. Yes.
For point 1 , i wrote following test code
| package org.jboss.cache.passivation;
|
| import java.io
Had you applied a cache loader?
and maybe the cached object will be cleaned after 15 seconds as your
configuration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962717#3962717
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
I don't know it is a bug or is my misunderstand.
Once the number of nodes not exceeds the maxNodes value in region, the ecvit
policy will not check the timeToLiveSeconds and maxAgeSeconds values.
As my understand, timeToLiveSeconds and maxAgeSeconds should work regardless
the number of nodes i
Ben,
Thanks for you response, that's my careless. now the program works well.
And other need to clear.
As my understanding, the main distinguish between TreeCache and PojoCache
1. PojoCache only support in-memory(not support passivate to disk or other
sources, once passivate, the object will
Hi All,
I ran pojo cache, but hit error, following is the code and errors
| package org.jboss.cache.data;
|
| import java.util.List;
|
| /**
| * @author Ben Wang
| * @@org.jboss.cache.aop.AopMarker
| */
| public class Person {
|protected String name;
|prote
Hi All,
How to configure the cache listener in the xml configuration file?
and I tested the POJOCache with 1.4.0.GA use policy and cacheloader like follow
| org.jboss.cache.aop.eviction.AopLRUPolicy
|
|
|
|
| 5
|
|
"genman" wrote :
| In terms of design, it's a good idea to make each tree node represent a
relational database row (fixed in size), rather than store the contents of an
entire database table.
|
| For example, if you were storing customers, each customer should have its
own node.
|
Hi
Hi,
I found that statement in the jbosscache document "Eviction policies
specify the behavior of a node residing inside the cache" , that means the
policy only support NODE level?
currently, I need the such policy that support on node's value level.
E.G
set MAXVALUE of a node, if the number
15 matches
Mail list logo