summaryrefslogtreecommitdiff
path: root/resources/textFiles/consoleHelp.txt
diff options
context:
space:
mode:
authorAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
committerAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
commit254ee6f47eebfc00462c10756a92066e82cc1a96 (patch)
tree8273ff95c704e6faa3f92b4711253427b9ba0481 /resources/textFiles/consoleHelp.txt
Initial commit2.2
Diffstat (limited to 'resources/textFiles/consoleHelp.txt')
-rwxr-xr-xresources/textFiles/consoleHelp.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/textFiles/consoleHelp.txt b/resources/textFiles/consoleHelp.txt
new file mode 100755
index 0000000..2b96172
--- /dev/null
+++ b/resources/textFiles/consoleHelp.txt
@@ -0,0 +1,18 @@
+Cristal 2 scripting console
+---------------------------
+Commands entered here are directly parsed by the javascript engine. You can call methods directly on five objects pre-loaded from the Gateway:
+proxy - the EntityProxyManager
+storage - the TransactionManager
+db - the ClusterStorageManager
+lookup - the LDAPLookup (server context)
+orb - the ORB
+
+Your output is a log stream, by default set to level 0. Change your log level with 'log n'.
+View this message with 'help'.
+
+Useful methods:
+proxy.reportCurrentProxies(logLevel);
+proxy.reportConnections(logLevel);
+storage.dumpPendingTransactions(logLevel);
+db.clearCache([sysKey][, rootPath]);
+db.dumpCacheContents(logLevel);