Synchronously invokes UpdateApplicationCatalog procedure. Blocks until a result is available. A {@link ProcCallException} is thrown if theresponse is anything other then success.
This method is a convenience method that is equivalent to reading the catalog file into a byte array in Java code, then calling {@link #callProcedure(String,Object)}with "@UpdateApplicationCatalog" as the procedure name, followed by they bytes of the catalog and the string value of the deployment file.
@param catalogPath Path to the catalog jar file. @param deploymentPath Path to the deployment file. @return {@link ClientResponse} instance of procedure call results. @throws IOException If the files cannot be serialized or if there is a Java network error. @throws NoConnectionsException if this {@link Client} instance is not connected to any servers. @throws ProcCallException on any VoltDB specific failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|