[infinispan-dev] thoughts on RemoteCacheStore

Manik Surtani manik at jboss.org
Mon May 24 11:10:34 EDT 2010


On 24 May 2010, at 16:08, Mircea Markus wrote:

> 
> On 24 May 2010, at 17:22, Manik Surtani wrote:
> 
>>> 2. load/loadAll/loadAllKeys operations cannot be implemented (hotrod does not support getKeys, and even so that would potentially be too costly) 
>> 
>> Yes, these are only used when state transfer/rehashing/preloading is enabled, and none of these make sense for a *shared* cache store.  Typically, a RemoteCacheStore would be shared so this code would not be called.  An UnsupportedException (with an explanation: RemoteCacheStore can only run in shared mode!) should be thrown.
> Is it the same for fromStream/toStream

Yes

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list