|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Main
org.basex.BaseXServer
public final class BaseXServer
This is the starter class for the database server. It handles concurrent requests from multiple users. Add the '-h' option to get a list on all available command-line arguments.
| Field Summary | |
|---|---|
Log |
log
Log. |
boolean |
quiet
Quiet mode (no logging). |
Semaphore |
sem
Semaphore for managing processes. |
| Fields inherited from class org.basex.core.Main |
|---|
context |
| Constructor Summary | |
|---|---|
BaseXServer(String... args)
Constructor. |
|
| Method Summary | |
|---|---|
static void |
main(String... args)
Main method, launching the server process. |
void |
quit(boolean user)
Quits the console mode. |
void |
run()
Server thread. |
static void |
stop(Context ctx)
Stops the server. |
| Methods inherited from class org.basex.core.Main |
|---|
bug, debug, debug, err, errln, gc, inf, info, name, name, notexpected, notimplemented, out, outln, outln, server |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Semaphore sem
public Log log
public boolean quiet
| Constructor Detail |
|---|
public BaseXServer(String... args)
args - command line arguments| Method Detail |
|---|
public static void main(String... args)
-h argument.
args - command-line argumentspublic void run()
run in interface Runnablepublic void quit(boolean user)
Main
user - quit by userpublic static void stop(Context ctx)
ctx - context reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||