use of org.jenkinsci.plugins.workflow.support.storage.BulkFlowNodeStorage in project workflow-cps-plugin by jenkinsci.
the class CpsFlowExecution method createStorage.
private TimingFlowNodeStorage createStorage() throws IOException {
FlowNodeStorage wrappedStorage;
FlowDurabilityHint hint = getDurabilityHint();
wrappedStorage = (hint.isPersistWithEveryStep()) ? new SimpleXStreamFlowNodeStorage(this, getStorageDir()) : new BulkFlowNodeStorage(this, getStorageDir());
return new TimingFlowNodeStorage(wrappedStorage);
}
Aggregations