public void monitorStart(String directory, boolean force, boolean resume) {
        JSONObject json = new JSONObject().put("directory", directory).put("force", force).put("resume", resume);

        monitorStartPost(json);
    }
public void monitorStart ( String directory , boolean force , boolean resume ) { JSONObject json = new JSONObject ( ) . put ( "directory" , directory ) . put ( "force" , force ) . put ( "resume" , resume ) ; monitorStartPost ( json ) ; }
Start monitoring.

@param directory path to directory in which store the monitoring file
@param force     clear out existing training data from this directory (by deleting every file prefixed with "openaigym.")
@param resume    retain the training data already in this directory, which will be merged with our new data