[infinispan-dev] Help with APIs

Mircea Markus mircea.markus at jboss.com
Tue Oct 23 10:40:08 EDT 2012


On 22 Oct 2012, at 20:07, Hammad Said wrote:

> I am implementing xsite state transfer. Wondering if someone knows tha apis/examples in the code for:
> 
> a) finding the local site name for the current node
This should return it: cache.getCacheManager().getCacheManagerConfiguration().sites().localSite()
> 
> b) all the caches configured on the local site.
BackupReceiverRepositoryImpl.getBackupCacheManager iterates over all the defined caches, in case it's that you're after? 

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20121023/4307a6e9/attachment-0001.html 


More information about the infinispan-dev mailing list