Class NodeService

All Implemented Interfaces:
MoleculerLifecycle

public class NodeService extends Service
The broker contains some internal services to check the health of node or get broker statistics. You can disable it with the "internalServices: false" broker option with the ServiceBroker.builder().
  • Field Details

    • startedAt

      protected static final long startedAt
    • localNodeID

      protected String localNodeID
    • transporter

      protected Transporter transporter
    • monitor

      protected Monitor monitor
    • actions

      public Action actions
      Implementation of the "$node.actions" action
    • events

      public Action events
      Implementation of the "$node.events" action
    • health

      public Action health
      Implementation of the "$node.health" action
    • list

      public Action list
      Implementation of the "$node.list" action
    • services

      public Action services
      Implementation of the "$node.services" action
  • Constructor Details

    • NodeService

      public NodeService()
  • Method Details