Class Flush
- java.lang.Object
-
- org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
-
- org.nuxeo.connect.update.task.standalone.commands.PostInstallCommand
-
- org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
-
- org.nuxeo.connect.update.task.live.commands.Flush
-
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Command
public class Flush extends FlushPlaceholder
Flush all Nuxeo caches by callingReloadService.flush()
The inverse of this command is itself.
- Author:
- Bogdan Stefanescu
-
-
Field Summary
-
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
ID
-
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
-
Constructor Summary
Constructors Constructor Description Flush()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.nuxeo.connect.update.task.Command
doRun(org.nuxeo.connect.update.task.Task task, Map<String,String> prefs)
Override to implement command actionsstatic void
flush()
Calls theReloadService.flush()
method-
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
doValidate, readFrom, writeTo
-
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.PostInstallCommand
isPostInstall
-
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
getId, ignore, initialize, run, setFail, setIgnore, setPackageUpdateService, validate
-
-
-
-
Method Detail
-
flush
public static void flush() throws org.nuxeo.connect.update.PackageException
Calls theReloadService.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 classFlushPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-
-