public class NodeService extends Service
| Modifier and Type | Field and Description |
|---|---|
Action |
actions
Implementation of the "$node.actions" action
|
Action |
events
Implementation of the "$node.events" action
|
Action |
health
Implementation of the "$node.health" action
|
Action |
list
Implementation of the "$node.list" action
|
protected java.lang.String |
localNodeID |
protected Monitor |
monitor |
Action |
services
Implementation of the "$node.services" action
|
protected static long |
startedAt |
protected Transporter |
transporter |
broker, logger, name| Constructor and Description |
|---|
NodeService() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getParameter(Context ctx,
java.lang.String name,
boolean defaultValue) |
void |
started(ServiceBroker broker) |
getBroker, getLogger, getName, stoppedprotected static final long startedAt
protected java.lang.String localNodeID
protected Transporter transporter
protected Monitor monitor
public Action actions
public Action events
public Action health
public Action list
public Action services
public void started(ServiceBroker broker) throws java.lang.Exception
started in interface MoleculerLifecyclestarted in class MoleculerComponentjava.lang.Exceptionprotected boolean getParameter(Context ctx, java.lang.String name, boolean defaultValue)