20 package com.mysql.cluster.crund;
25 protected String mgmdConnect;
30 protected void clearPersistenceContext()
throws Exception {}
36 protected void initProperties() {
37 super.initProperties();
39 out.print(
"setting ndb properties ...");
41 final StringBuilder
msg =
new StringBuilder();
42 final String eol = System.getProperty(
"line.separator");
45 mgmdConnect = props.getProperty(
"ndb.mgmdConnect",
"localhost");
46 assert mgmdConnect != null;
49 catalog = props.getProperty(
"ndb.catalog",
"crunddb");
50 assert catalog != null;
53 schema = props.getProperty(
"ndb.schema",
"def");
54 assert schema != null;
56 if (msg.length() == 0) {
60 out.print(msg.toString());
64 protected void printProperties() {
65 super.printProperties();
68 out.println(
"ndb settings ...");
69 out.println(
"ndb.mgmdConnect: \"" + mgmdConnect +
"\"");
70 out.println(
"ndb.catalog: \"" + catalog +
"\"");
71 out.println(
"ndb.schema: \"" + schema +
"\"");