-
1. Re: infinispan treecache API support RemoteCache?
galder.zamarreno Nov 10, 2011 7:51 AM (in response to sanyueniao)1 of 1 people found this helpfulI'm afraid but the tree API cannot be used remotely.
-
2. Re: infinispan treecache API support RemoteCache?
sanyueniao Nov 10, 2011 12:05 PM (in response to galder.zamarreno)thank you very much
-
3. Re: infinispan treecache API support RemoteCache?
dinoop.p1 Feb 4, 2014 2:51 AM (in response to sanyueniao)Unfortunately many things are not supported in hot rod. Even when we are putting data into Infinispan we need to explicitly specify the maxLifeSpan and MaxIdle time, the default wont take
@Tristan, In which version it is resolved, why it is not updating in documentation?, still it is given as unsupported http://docs.jboss.org/infinispan/6.0/apidocs/org/infinispan/client/hotrod/RemoteCache.html
from doc
Note on default expiration values: Due to limitations on the first version of the protocol, it's not possible for clients to rely on default lifespan and maxIdle values set on the server. This is because the protocol does not support a way to tell the server that no expiration lifespan and/or maxIdle were provided and that default values should be used. This will be resolved in a future revision of the protocol. In the mean time, the workaround is to explicitly provide the desired expiry lifespan/maxIdle values in each remote cache operation.
-
4. Re: infinispan treecache API support RemoteCache?
nadirx Feb 4, 2014 2:32 AM (in response to dinoop.p1)Unfortunately many things are not supported in hot rod. Even when we are putting data into Infinispan we need to explicitly specify the maxLifeSpan and MaxIdle time, the default wont take
Ever since [ISPN-1293] Enable default lifespan/maxIdle values to be used by the Hot Rod server - JBoss Issue Tracker was implemented, this is no longer true (since HotRod 1.2 / Infinispan 5.2).
Also the Tree Cache API is deprecated and unsupported even in embedded mode. You should build your application around the key/value paradigm and possibly use the grouping API to keep entries together.
Tristan