public interface ComputerResult extends AutoCloseable
GraphComputer
's computation. This is returned in a Future
by
GraphComputer.submit()
. A GraphComputer computation yields two things: an updated view of the computed on
Graph
and any computational sideEffects called Memory
.Modifier and Type | Method and Description |
---|---|
void |
close()
Close the computed
GraphComputer result. |
Graph |
graph()
|
Memory |
memory()
Get the GraphComputer's computational sideEffects known as
Memory . |
Graph graph()
Memory memory()
Memory
.void close() throws Exception
GraphComputer
result. The semantics of "close" differ depending on the underlying implementation.
In general, when a ComputerResult
is closed, the computed values are no longer available to the user.close
in interface AutoCloseable
Exception
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.