org.basex.core.proc
Class Close

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.AbstractProcess
          extended by org.basex.core.proc.Proc
              extended by org.basex.core.proc.Close

public final class Close
extends Proc

Evaluates the 'close' command. Removes the current database from memory and releases memory resources.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.AbstractProcess
cmd
 
Constructor Summary
Close()
           
 
Method Summary
static boolean close(Data data)
          Closes the specified database.
 
Methods inherited from class org.basex.core.proc.Proc
det, execute, execute, get, head, info, info, output, output, prog, result, toString
 
Methods inherited from class org.basex.core.Progress
detail, header, progress, progress, stop, stopped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Close

public Close()
Method Detail

close

public static boolean close(Data data)
Closes the specified database.

Parameters:
data - database to be closed
Returns:
success of operation