Class MemoryComputeKey<A>

  • All Implemented Interfaces:
    Serializable, Cloneable

    public final class MemoryComputeKey<A>
    extends Object
    implements Serializable, Cloneable
    A MemoryComputeKey specifies what keys will be used by a Memory during a GraphComputer computation. A MemoryComputeKey maintains a BinaryOperator which specifies how to reduce parallel values into a single value. A MemoryComputeKey can be broadcasted and as such, the workers will receive mutations to the Memory value. A MemoryComputeKey can be transient and thus, will not be accessible once the GraphComputer computation is complete.
    Author:
    Marko A. Rodriguez (http://markorodriguez.com)
    See Also:
    Serialized Form