Uses of Class
net.sodacan.core.config.BaseBuilder
Packages that use BaseBuilder
-
Uses of BaseBuilder in net.sodacan.core.config
Subclasses of BaseBuilder in net.sodacan.core.configMethods in net.sodacan.core.config that return BaseBuilderModifier and TypeMethodDescriptionBaseBuilder.actorGroup
(BiFunction<Config, Integer, ActorGroup> actorGroupFn) Local factoryBaseBuilder.actorGroupAssigner
(Function<Config, ActorGroupAssigner> actorGroupAssignerFn) Local singletonBaseBuilder.actorGroupReplicas
(int actorGroupReplicas) The number of replicas of a actorGroup to maintain.BaseBuilder.actorGroupReplicas
(Function<Config, Integer> actorGroupReplicasFn) BaseBuilder.actorGroups
(int actorGroups) Specify the number of actorGroups in the system.BaseBuilder.actorGroups
(Function<Config, Integer> actorGroupsFn) BaseBuilder.actorGroupThreads
(int actorGroupThreads) Local dynamic (maybe) Change effective in new actorGroups onlyBaseBuilder.actorGroupThreads
(Function<Config, Integer> actorGroupThreadsFn) BaseBuilder.actorIdFactory
(Function<Config, ActorIdFactory> actorIdFactoryFn) Local factoryBaseBuilder.backpressureLimit
(int backpressureLimit) BaseBuilder.backpressureLimit
(Function<Config, Integer> backpressureLimitFn) Global dynamicBaseBuilder.backpressureWaitMs
(int backpressureWaitMs) Specify the backpressure limit in an ActorGroup.BaseBuilder.backpressureWaitMs
(Function<Config, Integer> backpressureWaitMsFn) Specify the backpressure limit in an ActorGroup.BaseBuilder.coordinator
(Function<Config, Coordinator> coordinatorFn) Local singletonBaseBuilder.eviction
(int eviction) Global dynamiclocal singletonBaseBuilder.hostNumber
(int hostNumber) Local StaticBaseBuilder.hostNumber
(Function<Config, Integer> hostNumberFn) BaseBuilder.persisterFactory
(Function<Config, PersisterFactory> persisterFactoryFn) Set a system propertyBaseBuilder.registerActorsInPackage
(String packageName) global staticBaseBuilder.registerActorType
(String actorType, Class<? extends Actor> type) Register a new ActorType with a default constructorBaseBuilder.registerActorType
(String actorType, Class<? extends Actor> type, BiFunction<Config, ActorId, Actor> factory) global static Explicitly register an actor type name to actor class.BaseBuilder.rootDirectory
(String rootDirectory) BaseBuilder.rootDirectory
(Function<Config, String> rootDirectoryFn) BaseBuilder.scheduler
(BiFunction<Config, ActorGroup, Scheduler> schedulerFn) Local factoryBaseBuilder.serializerFactory
(Function<Config, SerializerFactory> serializerFactoryFn) BaseBuilder.shutdownWaitMs
(int ms) BaseBuilder.shutdownWaitMs
(Function<Config, Integer> ms) global dynamicMethods in net.sodacan.core.config with parameters of type BaseBuilderConstructors in net.sodacan.core.config with parameters of type BaseBuilderModifierConstructorDescriptionBaseBuilder
(BaseBuilder from) Copy constructor builder.DefaultConfig
(BaseBuilder builder) Construct a configuration object. -
Uses of BaseBuilder in net.sodacan.core.util
Methods in net.sodacan.core.util with parameters of type BaseBuilderModifier and TypeMethodDescriptionstatic void
ClassUtilities.getActorClassesFromPackage
(String packageName, BaseBuilder builder) Find all classes in the named package that implement the Actor interface and add them to our collection of known Actor classes.