Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setIsolationMode (0.36 sec)

  1. testing/performance/src/templates/workerApiProject/buildSrc/src/main/java/com/example/worker/WorkerPlugin.java

                public void execute(WorkerTask workerTask) {
                    workerTask.setIsolationMode(IsolationMode.CLASSLOADER);
                }
            });
    
            project.getTasks().create("processIsolation", WorkerTask.class, new Action<WorkerTask>() {
                @Override
                public void execute(WorkerTask workerTask) {
                    workerTask.setIsolationMode(IsolationMode.PROCESS);
                }
            });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/workerApiProject/buildSrc/src/main/java/com/example/worker/WorkerTask.java

                    public void execute(WorkerConfiguration workerConfiguration) {
                        workerConfiguration.setDisplayName(getName() + " work for " + index);
                        workerConfiguration.setIsolationMode(isolationMode);
    
                        File outputFile = new File(outputDir, "out-" + index + ".txt");
                        workerConfiguration.setParams(index, outputFile);
                    }
                });
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top