Class ManuallySyncingOptimization

    • Constructor Detail

      • ManuallySyncingOptimization

        public ManuallySyncingOptimization()
    • Method Detail

      • apply

        public CommandExecutor apply​(CommandExecutor originalExecutor)
        Description copied from interface: Optimization
        Decorates command executor in order to apply optimization strategy.
        Specified by:
        apply in interface Optimization
        Parameters:
        originalExecutor - command executor that need to be optimized
        Returns:
        decorated command executor
      • apply

        public AsyncCommandExecutor apply​(AsyncCommandExecutor originalExecutor)
        Description copied from interface: Optimization
        Decorates command executor in order to apply optimization strategy.
        Specified by:
        apply in interface Optimization
        Parameters:
        originalExecutor - command executor that need to be optimized
        Returns:
        decorated command executor