Package org.infinispan.xsite
Interface BackupReceiverRepository
-
- All Known Implementing Classes:
BackupReceiverRepositoryImpl
public interface BackupReceiverRepositoryGlobal component that holds all theBackupReceivers within this CacheManager.- Since:
- 5.2
- Author:
- Mircea Markus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupReceivergetBackupReceiver(String originSiteName, String cacheName)Returns the local cache associated defined as backup for the provided remote (site, cache) combo, or throws an exception if no such site is defined.
-
-
-
Method Detail
-
getBackupReceiver
BackupReceiver getBackupReceiver(String originSiteName, String cacheName)
Returns the local cache associated defined as backup for the provided remote (site, cache) combo, or throws an exception if no such site is defined. Also starts the cache if not already stated; that is because the cache is needed for update after when this method is invoked.
-
-