com.hazelcast.instance

## Interface NodeContext

- All Known Implementing Classes:
    DefaultNodeContext

      @PrivateApi
      public interface NodeContext

  A context for node to provide its dependencies. Acts as a dependency factory.

  Normally, there is a default context. But to be able to make tests simpler, to run them faster and in-parallel, it's necessary to avoid network and some heavy-weight objects creations. That's why most of the tests use a special purpose NodeContext.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `AddressPicker` | `createAddressPicker(Node node)`
    `Joiner` | `createJoiner(Node node)`
    `NetworkingService` | `createNetworkingService(Node node, com.hazelcast.internal.networking.ServerSocketRegistry registry)`
    `NodeExtension` | `createNodeExtension(Node node)`

- - ### Method Detail

    - #### createNodeExtension

          NodeExtension createNodeExtension(Node node)

    - #### createAddressPicker

          AddressPicker createAddressPicker(Node node)

    - #### createJoiner

          Joiner createJoiner(Node node)

    - #### createNetworkingService

          NetworkingService createNetworkingService(Node node,
                                                    com.hazelcast.internal.networking.ServerSocketRegistry registry)

Copyright © 2020. All rights reserved.