This should return it: cache.getCacheManager().getCacheManagerConfiguration().sites().localSite()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
BackupReceiverRepositoryImpl.getBackupCacheManager iterates over all the defined caches, in case it's that you're after?
b) all the caches configured on the local site.