return new DefaultComputerResult(resultgraph, this.memory); });
return new DefaultComputerResult(resultgraph, this.memory); });
graphComputerConfiguration.clearProperty(GREMLIN_SPARK_SKIP_GRAPH_CACHE); graphComputerConfiguration.clearProperty(GREMLIN_SPARK_SKIP_PARTITIONER); return new DefaultComputerResult(InputOutputHelper.getOutputGraph(graphComputerConfiguration, this.resultGraph, this.persist), finalMemory.asImmutable()); } finally { if (!graphComputerConfiguration.getBoolean(GREMLIN_SPARK_PERSIST_CONTEXT, false))
return new DefaultComputerResult(resultGraph, this.memory.asImmutable()); } catch (InterruptedException ie) { workers.closeNow();
graphComputerConfiguration.clearProperty(Constants.GREMLIN_SPARK_SKIP_GRAPH_CACHE); graphComputerConfiguration.clearProperty(Constants.GREMLIN_SPARK_SKIP_PARTITIONER); return new DefaultComputerResult( InputOutputHelper.getOutputGraph(graphComputerConfiguration, this.resultGraph, this.persist), finalMemory.asImmutable());
graphComputerConfiguration.clearProperty(GREMLIN_SPARK_SKIP_GRAPH_CACHE); graphComputerConfiguration.clearProperty(GREMLIN_SPARK_SKIP_PARTITIONER); return new DefaultComputerResult(InputOutputHelper.getOutputGraph(graphComputerConfiguration, this.resultGraph, this.persist), finalMemory.asImmutable()); } finally { if (!graphComputerConfiguration.getBoolean(GREMLIN_SPARK_PERSIST_CONTEXT, false))
return new DefaultComputerResult(resultgraph, this.memory); });
return new DefaultComputerResult(resultGraph, this.memory.asImmutable()); } catch (InterruptedException ie) { workers.closeNow();
return new DefaultComputerResult(resultGraph, this.memory.asImmutable()); } catch (InterruptedException ie) { workers.closeNow();