[infinispan-dev] thoughts on RemoteCacheStore

Mircea Markus mircea.markus at jboss.com
Mon May 24 11:08:54 EDT 2010


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


More information about the infinispan-dev mailing list