Uses of Interface
net.sodacan.core.Config
Packages that use Config
Package
Description
This package contains most of the Interfaces of Sodacan.
A small island of compute sending and receiving messages to/from other Actors.
An ActorGroup contains a dynamic number of actors.
The Sodacan coordinator keeps a network-wide "ideal" distribution of ActorGroups along
with a snapshot of the current Host/ActorGroup arrangement.
A Host manages ActorGroups.
A message flows from a source Actor to a destination Actor.
Memory-based persister, recorded values in memory only.
The Scheduler for an ActorGroup is concerned with thread coordination.
-
Uses of Config in net.sodacan.core
Methods in net.sodacan.core that return ConfigMethods in net.sodacan.core with parameters of type ConfigModifier and TypeMethodDescriptionSend the message on to its next route.Message.notImplemented
(Config config, Actor actor) This method is called when a message is sent to an Actor but the Actor has not overriden the processMessage method.boolean
Message.postprocess
(Config config, Actor actor) This method is called when a message is sent by an Actor.boolean
Message.preprocess
(Config config, Actor actor) This method is called after a message is deserialized and ready to be processed by the target actor.void
This method is called when a message is sent by an Actor and the message as no further routes this it will be destroyed just after this method is called. -
Uses of Config in net.sodacan.core.actor
Fields in net.sodacan.core.actor declared as ConfigMethods in net.sodacan.core.actor that return ConfigConstructors in net.sodacan.core.actor with parameters of type ConfigModifierConstructorDescriptionAbstractActor
(Config config, ActorId actorId) ActorEntry
(Config config, Scheduler scheduler, ActorId actorId) Construct a new ActorEntry and instantiate and actor contained within it using a configured actor factory.ActorGroupSender
(Config config, ActorId actorId) ActorGroupStats
(Config config, ActorId actorId) JournalWriter
(Config config, ActorId actorId) SequentialActorIdFactory
(Config config) UUIDActorIdFactory
(Config config) WorkerActor
(Config config, ActorId actorId) -
Uses of Config in net.sodacan.core.actorgroup
Methods in net.sodacan.core.actorgroup that return ConfigModifier and TypeMethodDescriptionAbstractActorGroup.getConfig()
AbstractActorGroupAssigner.getConfig()
Constructors in net.sodacan.core.actorgroup with parameters of type ConfigModifierConstructorDescriptionAbstractActorGroup
(Config config, int actorGroupNumber) AbstractActorGroupAssigner
(Config config) DefaultActorGroup
(Config config, int actorGroupNumber) FixedActorGroupAssigner
(Config config, int groupNumber) RandomActorGroupAssigner
(Config config) -
Uses of Config in net.sodacan.core.config
Classes in net.sodacan.core.config that implement ConfigModifier and TypeClassDescriptionclass
Default implementation of the Config interface.Fields in net.sodacan.core.config with type parameters of type ConfigModifier and TypeFieldDescriptionBaseBuilder.actorGroupAssignerFn
BaseBuilder.actorGroupFn
BaseBuilder.actorGroupReplicasFn
BaseBuilder.actorGroupsFn
BaseBuilder.actorGroupThreadsFn
BaseBuilder.actorIdFactoryFn
BaseBuilder.backpressureLimitFn
BaseBuilder.backpressureWaitMsFn
BaseBuilder.clockFn
BaseBuilder.coordinatorFn
BaseBuilder.evictionFn
protected BiFunction
<Config, ActorId, Actor> ActorMetadata.factory
BaseBuilder.hostFn
BaseBuilder.hostNumberFn
BaseBuilder.messageFn
BaseBuilder.messageIdFn
BaseBuilder.persisterFactoryFn
BaseBuilder.randomFn
BaseBuilder.rootDirectoryFn
BaseBuilder.schedulerFn
BaseBuilder.serializerFactoryFn
BaseBuilder.shutdownWaitMsFn
Methods in net.sodacan.core.config that return ConfigMethods in net.sodacan.core.config that return types with arguments of type ConfigModifier and TypeMethodDescriptionprotected BiFunction
<Config, ActorId, Actor> ActorMetadata.makeFactory()
Methods in net.sodacan.core.config with parameters of type ConfigMethod parameters in net.sodacan.core.config with type arguments of type ConfigModifier and TypeMethodDescriptionBaseBuilder.actorGroup
(BiFunction<Config, Integer, ActorGroup> actorGroupFn) Local factoryBaseBuilder.actorGroupAssigner
(Function<Config, ActorGroupAssigner> actorGroupAssignerFn) Local singletonBaseBuilder.actorGroupReplicas
(Function<Config, Integer> actorGroupReplicasFn) BaseBuilder.actorGroups
(Function<Config, Integer> actorGroupsFn) BaseBuilder.actorGroupThreads
(Function<Config, Integer> actorGroupThreadsFn) BaseBuilder.actorIdFactory
(Function<Config, ActorIdFactory> actorIdFactoryFn) Local factoryBaseBuilder.backpressureLimit
(Function<Config, Integer> backpressureLimitFn) Global dynamicBaseBuilder.backpressureWaitMs
(Function<Config, Integer> backpressureWaitMsFn) Specify the backpressure limit in an ActorGroup.BaseBuilder.coordinator
(Function<Config, Coordinator> coordinatorFn) Local singletonlocal singletonBaseBuilder.hostNumber
(Function<Config, Integer> hostNumberFn) BaseBuilder.persisterFactory
(Function<Config, PersisterFactory> persisterFactoryFn) BaseBuilder.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
(Function<Config, String> rootDirectoryFn) BaseBuilder.scheduler
(BiFunction<Config, ActorGroup, Scheduler> schedulerFn) Local factoryBaseBuilder.serializerFactory
(Function<Config, SerializerFactory> serializerFactoryFn) BaseBuilder.shutdownWaitMs
(Function<Config, Integer> ms) global dynamicConstructor parameters in net.sodacan.core.config with type arguments of type ConfigModifierConstructorDescriptionActorMetadata
(Class<? extends Actor> actorClass, BiFunction<Config, ActorId, Actor> factory) -
Uses of Config in net.sodacan.core.coordinator
Fields in net.sodacan.core.coordinator declared as ConfigMethods in net.sodacan.core.coordinator that return ConfigConstructors in net.sodacan.core.coordinator with parameters of type ConfigModifierConstructorDescriptionAbstractCoordinator
(Config config) SingleHostCoordinator
(Config config) -
Uses of Config in net.sodacan.core.host
Methods in net.sodacan.core.host that return ConfigConstructors in net.sodacan.core.host with parameters of type Config -
Uses of Config in net.sodacan.core.message
Methods in net.sodacan.core.message with parameters of type ConfigModifier and TypeMethodDescriptionDefaultMessage.notImplemented
(Config config, Actor actor) boolean
DefaultMessage.postprocess
(Config config, Actor actor) boolean
DefaultMessage.preprocess
(Config config, Actor actor) void
boolean
DefaultMessage.validateMessage
(Config config) If nothing to do in the message, return false.Constructors in net.sodacan.core.message with parameters of type Config -
Uses of Config in net.sodacan.core.persist
Methods in net.sodacan.core.persist that return ConfigConstructors in net.sodacan.core.persist with parameters of type Config -
Uses of Config in net.sodacan.core.persist.file
Methods in net.sodacan.core.persist.file that return ConfigConstructors in net.sodacan.core.persist.file with parameters of type ConfigModifierConstructorDescriptionFilePersister
(Config config, ActorId actorId) FilePersisterFactory
(Config config) -
Uses of Config in net.sodacan.core.persist.memory
Constructors in net.sodacan.core.persist.memory with parameters of type ConfigModifierConstructorDescriptionMemoryPersister
(Config config, ActorId actorId, Map<String, byte[]> memory) MemoryPersisterFactory
(Config config) -
Uses of Config in net.sodacan.core.persist.rocks
Methods in net.sodacan.core.persist.rocks that return ConfigConstructors in net.sodacan.core.persist.rocks with parameters of type ConfigModifierConstructorDescriptionRocksPersister
(Config config, org.rocksdb.RocksDB db, ActorId actorId) RocksPersisterFactory
(Config config, String folder) -
Uses of Config in net.sodacan.core.scheduler
Methods in net.sodacan.core.scheduler that return ConfigConstructors in net.sodacan.core.scheduler with parameters of type ConfigModifierConstructorDescriptionDefaultScheduler
(Config config, ActorGroup actorGroup) Construct a default scheduler, one per ActorGroup -
Uses of Config in net.sodacan.core.serialize.gson
Methods in net.sodacan.core.serialize.gson that return ConfigConstructors in net.sodacan.core.serialize.gson with parameters of type Config -
Uses of Config in net.sodacan.core.serialize.kryo
Methods in net.sodacan.core.serialize.kryo that return ConfigConstructors in net.sodacan.core.serialize.kryo with parameters of type Config -
Uses of Config in net.sodacan.core.util
Methods in net.sodacan.core.util with parameters of type Config