Package org.basex.core.cmd
Class Kill
- java.lang.Object
-
- org.basex.core.jobs.Job
-
- org.basex.core.Command
-
- org.basex.core.cmd.Kill
-
public final class Kill extends Command
Evaluates the 'kill' command and stops user sessions.- Author:
- BaseX Team 2005-24, BSD License, Christian Gruen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLocks()
Collects lock strings (databases, special identifiers) when registering a query.protected boolean
run()
Executes the command and serializes the result (internal call).protected boolean
run(String user, String db)
-
Methods inherited from class org.basex.core.Command
addLocks, baseURI, baseURI, build, close, error, execute, execute, getOption, getOption, info, info, init, newData, run, run, setInput, setInput, stoppable, supportsProg, toString, toString, updated, updating
-
-