All Implemented Interfaces:
org.nuxeo.connect.update.task.Command

public class Flush extends FlushPlaceholder
Flush all Nuxeo caches by calling ReloadService.flush()

The inverse of this command is itself.

Author:
Bogdan Stefanescu
  • Constructor Details

    • Flush

      public Flush()
  • Method Details

    • flush

      public static void flush() throws org.nuxeo.connect.update.PackageException
      Calls the ReloadService.flush() method
      Throws:
      org.nuxeo.connect.update.PackageException
      Since:
      5.6
    • doRun

      protected org.nuxeo.connect.update.task.Command doRun(org.nuxeo.connect.update.task.Task task, Map<String,String> prefs) throws org.nuxeo.connect.update.PackageException
      Description copied from class: AbstractCommand
      Override to implement command actions
      Overrides:
      doRun in class FlushPlaceholder
      Returns:
      Rollback command
      Throws:
      org.nuxeo.connect.update.PackageException