Interface BackupReceiverRepository

  • All Known Implementing Classes:
    BackupReceiverRepositoryImpl

    public interface BackupReceiverRepository
    Global component that holds all the BackupReceivers within this CacheManager.
    Since:
    5.2
    Author:
    Mircea Markus
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BackupReceiver getBackupReceiver​(java.lang.String originSiteName, java.lang.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​(java.lang.String originSiteName,
                                         java.lang.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.