summaryrefslogtreecommitdiff
path: root/resources/textFiles/consoleHelp.txt
diff options
context:
space:
mode:
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);