Uses of Class
services.moleculer.ServiceBroker
Packages that use ServiceBroker
Package
Description
-
Uses of ServiceBroker in services.moleculer
Methods in services.moleculer that return ServiceBrokerModifier and TypeMethodDescriptionServiceBroker.createService(String name, Service service) Installs a new service with the specified name (eg.ServiceBroker.createService(Service service) Installs a new service instance and notifies other nodes about the actions/listeners of the new service.ServiceBroker.start()Start broker.ServiceBroker.stop()Stop broker and all internal components (event bus, context factory, etc.).ServiceBroker.use(Collection<Middleware> middlewares) Installs a collection of middlewares.ServiceBroker.use(Middleware... middlewares) Installs one or an array of middleware(s). -
Uses of ServiceBroker in services.moleculer.breaker
Methods in services.moleculer.breaker with parameters of type ServiceBroker -
Uses of ServiceBroker in services.moleculer.cacher
Methods in services.moleculer.cacher with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidCacher.started(ServiceBroker broker) voidJCacheCacher.started(ServiceBroker broker) Initializes cacher instance.voidMemoryCacher.started(ServiceBroker broker) Initializes cacher instance.voidRedisCacher.started(ServiceBroker broker) Initializes cacher instance. -
Uses of ServiceBroker in services.moleculer.config
Methods in services.moleculer.config that return ServiceBroker -
Uses of ServiceBroker in services.moleculer.eventbus
Methods in services.moleculer.eventbus with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidDefaultEventbus.started(ServiceBroker broker) Initializes default EventBus instance. -
Uses of ServiceBroker in services.moleculer.internal
Methods in services.moleculer.internal with parameters of type ServiceBroker -
Uses of ServiceBroker in services.moleculer.metrics
Methods in services.moleculer.metrics with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidDefaultMetrics.started(ServiceBroker broker) voidMetricMiddleware.started(ServiceBroker broker) -
Uses of ServiceBroker in services.moleculer.serializer
Methods in services.moleculer.serializer with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidBlockCipherSerializer.started(ServiceBroker broker) voidChainedSerializer.started(ServiceBroker broker) voidSerializer.started(ServiceBroker broker) -
Uses of ServiceBroker in services.moleculer.service
Fields in services.moleculer.service declared as ServiceBrokerMethods in services.moleculer.service that return ServiceBrokerMethods in services.moleculer.service with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidDefaultServiceInvoker.started(ServiceBroker broker) voidDefaultServiceRegistry.started(ServiceBroker broker) Initializes ServiceRegistry instance.voidMoleculerComponent.started(ServiceBroker broker) voidMoleculerLifecycle.started(ServiceBroker broker) -
Uses of ServiceBroker in services.moleculer.strategy
Methods in services.moleculer.strategy with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidCpuUsageStrategyFactory.started(ServiceBroker broker) Initializes strategy instance.voidNetworkLatencyStrategyFactory.started(ServiceBroker broker) Initializes strategy instance.Constructors in services.moleculer.strategy with parameters of type ServiceBrokerModifierConstructorDescriptionArrayBasedStrategy(ServiceBroker broker, boolean preferLocal) CpuUsageStrategy(ServiceBroker broker, boolean preferLocal, int sampleCount, int lowCpuUsage, Transporter transporter) NanoSecRandomStrategy(ServiceBroker broker, boolean preferLocal) NetworkLatencyStrategy(ServiceBroker broker, boolean preferLocal, int sampleCount, NetworkLatencyStrategyFactory factory) RoundRobinStrategy(ServiceBroker broker, boolean preferLocal) SecureRandomStrategy(ServiceBroker broker, boolean preferLocal) ShardStrategy(ServiceBroker broker, boolean preferLocal, String shardKey, int vnodes, Integer ringSize, int cacheSize, Function<String, Long> hash) XorShiftRandomStrategy(ServiceBroker broker, boolean preferLocal) -
Uses of ServiceBroker in services.moleculer.transporter
Methods in services.moleculer.transporter with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidFileSystemTransporter.started(ServiceBroker broker) voidTransporter.started(ServiceBroker broker) Initializes transporter instance. -
Uses of ServiceBroker in services.moleculer.uid
Methods in services.moleculer.uid with parameters of type ServiceBrokerModifier and TypeMethodDescriptionvoidIncrementalUidGenerator.started(ServiceBroker broker) Initializes UID generator instance.voidXorShiftRandomUidGenerator.started(ServiceBroker broker) Initializes UID generator instance. -
Uses of ServiceBroker in services.moleculer.util
Methods in services.moleculer.util with parameters of type ServiceBrokerModifier and TypeMethodDescriptionstatic final io.datatree.TreeCommonUtils.getNodeInfos(ServiceBroker broker, Transporter transporter)