Class Kill


public final class Kill extends Command
Evaluates the 'kill' command and stops user sessions.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • Kill

      public Kill(String user)
      Default constructor.
      Parameters:
      user - user to kill
  • Method Details

    • run

      protected boolean run()
      Description copied from class: Command
      Executes the command and serializes the result (internal call).
      Specified by:
      run in class Command
      Returns:
      success of operation
    • run

      protected boolean run(String user, String db)
    • addLocks

      public void addLocks()
      Description copied from class: Job
      Adds the strings (databases, special identifiers) for which locks need to be acquired.
      Overrides:
      addLocks in class Job