Class RollingUpgradeManager


  • public class RollingUpgradeManager
    extends Object
    This component handles the control hooks to handle migrating from one version of Infinispan to another.
    Since:
    5.2
    Author:
    Manik Surtani, Tristan Tarrant
    • Constructor Detail

      • RollingUpgradeManager

        public RollingUpgradeManager()
    • Method Detail

      • synchronizeData

        public long synchronizeData​(String migratorName,
                                    int readBatch,
                                    int threads)
                             throws Exception
        Throws:
        Exception
      • addSourceMigrator

        public void addSourceMigrator​(SourceMigrator migrator)
        Registers a migrator for a specific data format or endpoint. In the Infinispan ecosystem, we'd typically have one Migrator implementation for Hot Rod, one for memcached, one for REST and one for embedded/in-VM mode, and these would typically be added to the upgrade manager on first access via any of these protocols.
        Parameters:
        migrator -