org.apache.tinkerpop.gremlin.process.computer

## Class MessageScope

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.computer.MessageScope

- Direct Known Subclasses:
    MessageScope.Global, MessageScope.Local

      public abstract class MessageScope
      extends Object

  A `MessageScope` represents the range of a message. A message can have multiple receivers and message scope allows the underlying `GraphComputer` to apply the message passing algorithm in whichever manner is most efficient. It is best to use `MessageScope.Local` if possible as that provides more room for optimization by providers than `MessageScope.Global`.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com), Matthias Broecheler (me@matthiasb.com)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `MessageScope.Global` A Global message is directed at an arbitrary vertex in the graph.
    `static class` | `MessageScope.Local<M>` A Local message is directed to an adjacent (or "memory adjacent") vertex.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageScope()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MessageScope

          public MessageScope()

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.