comparison src/main/java/nl/cwi/monetdb/merovingian/Control.java @ 194:1296dbcc4958

Resolved javadoc many errors and warnings, such as: [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/HeaderLineParser.java:17: error: malformed HTML [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/HeaderLineParser.java:17: error: bad use of '>' [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/StartOfHeaderParser.java:23: error: malformed HTML [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/StartOfHeaderParser.java:23: error: bad use of '>' [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/TupleLineParser.java:37: error: reference not found [javadoc] * @throws ParseException if an error occurs during parsing [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/TupleLineParser.java:16: error: malformed HTML [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/parser/TupleLineParser.java:16: error: bad use of '>' [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLReader.java:40: error: malformed HTML [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLReader.java:40: error: bad use of '>' [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLReader.java:84: warning: no @throws for java.io.UnsupportedEncodingException [javadoc] public BufferedMCLReader(InputStream in, String enc) [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLWriter.java:35: error: malformed HTML [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLWriter.java:35: error: bad use of '>' [javadoc] * @author Fabian Groffen <Fabian.Groffen> [javadoc] ^ [javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/mcl/io/BufferedMCLWriter.java:59: warning: no @throws for java.io.UnsupportedEncodingException [javadoc] public BufferedMCLWriter(OutputStream in, String enc) [javadoc] ^
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 26 Oct 2017 17:40:05 +0200 (2017-10-26)
parents b9b35ca2eec2
children 89c285fc0a49 c38d4eaf5479
comparison
equal deleted inserted replaced
193:982534c83436 194:1296dbcc4958
29 * instance, using the TCP control protocol. 29 * instance, using the TCP control protocol.
30 * 30 *
31 * This class implements the protocol specific bits to perform all 31 * This class implements the protocol specific bits to perform all
32 * possible actions against a merovingian server that has remote control 32 * possible actions against a merovingian server that has remote control
33 * facilities enabled. 33 * facilities enabled.
34 * <br /> 34 *
35 * In the merovingian world, other merovingians in the vicinity are 35 * In the merovingian world, other merovingians in the vicinity are
36 * known to each merovingian, allowing to perform cluster wide actions. 36 * known to each merovingian, allowing to perform cluster wide actions.
37 * The implementation taken in this class is to require one known 37 * The implementation taken in this class is to require one known
38 * merovingian to get insight in the entire network. Note that 38 * merovingian to get insight in the entire network. Note that
39 * connecting to a merovingian requires a passphrase that is likely to 39 * connecting to a merovingian requires a passphrase that is likely to
54 54
55 55
56 /** 56 /**
57 * Constructs a new Control object. 57 * Constructs a new Control object.
58 * 58 *
59 * @param host - IP address or DNS
60 * @param port - port number
61 * @param passphrase - phrase used to pass authorisation
59 * @throws IllegalArgumentException if host, port or passphrase are 62 * @throws IllegalArgumentException if host, port or passphrase are
60 * null or &lt;= 0 63 * null or &lt;= 0
61 */ 64 */
62 public Control(String host, int port, String passphrase) 65 public Control(String host, int port, String passphrase)
63 throws IllegalArgumentException 66 throws IllegalArgumentException
341 } 344 }
342 345
343 /** 346 /**
344 * Test whether a specific database exists. 347 * Test whether a specific database exists.
345 * 348 *
346 * @param database 349 * @param database name of database
347 * @return true, iff database already exists. 350 * @return true, iff database already exists.
348 * @throws MerovingianException 351 * @throws MerovingianException if performing the command failed at
349 * @throws IOException 352 * the merovingian side
353 * @throws IOException if connecting to or communicating with
354 * merovingian failed
350 */ 355 */
351 public boolean exists(String database) 356 public boolean exists(String database)
352 throws MerovingianException, IOException 357 throws MerovingianException, IOException
353 { 358 {
354 List<SabaothDB> all = getAllStatuses(); 359 List<SabaothDB> all = getAllStatuses();