code: public ReturnCode javaDump(Set<JavaDumpAction> javaDumpActions) {
          StringBuilder commandBuilder = new StringBuilder(JAVADUMP_COMMAND);
          char sep = DELIM;
          for (JavaDumpAction javaDumpAction : javaDumpActions) {
              commandBuilder.append(sep).append(javaDumpAction.toString());
              sep = ',';
          }
  
          return write(commandBuilder.toString(),
                       ReturnCode.SERVER_INACTIVE_STATUS,
                       ReturnCode.ERROR_SERVER_DUMP);
      }
docs: Create a java dump of the server JVM by issuing a "javadump" instruction
  to the server listener