Package akka.actor
Class ActorSystem.Settings
- java.lang.Object
-
- akka.actor.ActorSystem.Settings
-
- Enclosing class:
- ActorSystem
public static class ActorSystem.Settings extends java.lang.Object
Settings are the overall ActorSystem Settings which also provides a convenient access to the Config object.For more detailed information about the different possible configuration options, look in the Akka Documentation under "Configuration"
-
-
Constructor Summary
Constructors Constructor Description Settings(java.lang.ClassLoader classLoader, com.typesafe.config.Config cfg, java.lang.String name)
Settings(java.lang.ClassLoader classLoader, com.typesafe.config.Config cfg, java.lang.String name, ActorSystemSetup setup)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
AddLoggingReceive()
boolean
AllowJavaSerialization()
com.typesafe.config.Config
config()
The backing Config of this ActorSystem's Settingsjava.lang.String
ConfigVersion()
boolean
CoordinatedShutdownRunByActorSystemTerminate()
boolean
CoordinatedShutdownTerminateActorSystem()
Timeout
CreationTimeout()
boolean
Daemonicity()
boolean
DebugAutoReceive()
boolean
DebugEventStream()
boolean
DebugLifecycle()
boolean
DebugRouterMisconfiguration()
boolean
DebugUnhandledMessage()
int
DefaultVirtualNodesFactor()
boolean
EnableAdditionalSerializationBindings()
Deprecated.Always enabled from Akka 2.6.0.boolean
FailMixedVersions()
boolean
FsmDebugEvent()
boolean
HasCluster()
scala.Option<java.lang.String>
Home()
boolean
JvmExitOnFatalError()
boolean
JvmShutdownHooks()
boolean
LogConfigOnStart()
int
LogDeadLetters()
boolean
LogDeadLettersDuringShutdown()
scala.concurrent.duration.Duration
LogDeadLettersSuspendDuration()
scala.collection.immutable.Seq<java.lang.String>
Loggers()
java.lang.String
LoggersDispatcher()
Timeout
LoggerStartTimeout()
java.lang.String
LoggingFilter()
java.lang.String
LogLevel()
java.lang.String
name()
scala.collection.immutable.Set<java.lang.String>
NoSerializationVerificationNeededClassPrefix()
java.lang.String
ProviderClass()
ProviderSelection
ProviderSelectionType()
java.lang.String
SchedulerClass()
boolean
SerializeAllCreators()
boolean
SerializeAllMessages()
ActorSystemSetup
setup()
java.lang.String
StdoutLogLevel()
java.lang.String
SupervisorStrategyClass()
java.lang.String
toString()
Returns the String representation of the Config that this Settings is backed byTimeout
UnstartedPushTimeout()
-
-
-
Constructor Detail
-
Settings
public Settings(java.lang.ClassLoader classLoader, com.typesafe.config.Config cfg, java.lang.String name, ActorSystemSetup setup)
-
Settings
public Settings(java.lang.ClassLoader classLoader, com.typesafe.config.Config cfg, java.lang.String name)
-
-
Method Detail
-
name
public final java.lang.String name()
-
setup
public ActorSystemSetup setup()
-
config
public final com.typesafe.config.Config config()
The backing Config of this ActorSystem's Settings
-
ConfigVersion
public final java.lang.String ConfigVersion()
-
ProviderSelectionType
public final ProviderSelection ProviderSelectionType()
-
ProviderClass
public final java.lang.String ProviderClass()
-
HasCluster
public final boolean HasCluster()
-
SupervisorStrategyClass
public final java.lang.String SupervisorStrategyClass()
-
CreationTimeout
public final Timeout CreationTimeout()
-
UnstartedPushTimeout
public final Timeout UnstartedPushTimeout()
-
AllowJavaSerialization
public final boolean AllowJavaSerialization()
-
EnableAdditionalSerializationBindings
public final boolean EnableAdditionalSerializationBindings()
Deprecated.Always enabled from Akka 2.6.0. Since 2.6.0.
-
SerializeAllMessages
public final boolean SerializeAllMessages()
-
SerializeAllCreators
public final boolean SerializeAllCreators()
-
NoSerializationVerificationNeededClassPrefix
public final scala.collection.immutable.Set<java.lang.String> NoSerializationVerificationNeededClassPrefix()
-
LogLevel
public final java.lang.String LogLevel()
-
StdoutLogLevel
public final java.lang.String StdoutLogLevel()
-
Loggers
public final scala.collection.immutable.Seq<java.lang.String> Loggers()
-
LoggersDispatcher
public final java.lang.String LoggersDispatcher()
-
LoggingFilter
public final java.lang.String LoggingFilter()
-
LoggerStartTimeout
public final Timeout LoggerStartTimeout()
-
LogConfigOnStart
public final boolean LogConfigOnStart()
-
LogDeadLetters
public final int LogDeadLetters()
-
LogDeadLettersDuringShutdown
public final boolean LogDeadLettersDuringShutdown()
-
LogDeadLettersSuspendDuration
public final scala.concurrent.duration.Duration LogDeadLettersSuspendDuration()
-
AddLoggingReceive
public final boolean AddLoggingReceive()
-
DebugAutoReceive
public final boolean DebugAutoReceive()
-
DebugLifecycle
public final boolean DebugLifecycle()
-
FsmDebugEvent
public final boolean FsmDebugEvent()
-
DebugEventStream
public final boolean DebugEventStream()
-
DebugUnhandledMessage
public final boolean DebugUnhandledMessage()
-
DebugRouterMisconfiguration
public final boolean DebugRouterMisconfiguration()
-
Home
public final scala.Option<java.lang.String> Home()
-
SchedulerClass
public final java.lang.String SchedulerClass()
-
Daemonicity
public final boolean Daemonicity()
-
JvmExitOnFatalError
public final boolean JvmExitOnFatalError()
-
JvmShutdownHooks
public final boolean JvmShutdownHooks()
-
FailMixedVersions
public final boolean FailMixedVersions()
-
CoordinatedShutdownTerminateActorSystem
public final boolean CoordinatedShutdownTerminateActorSystem()
-
CoordinatedShutdownRunByActorSystemTerminate
public final boolean CoordinatedShutdownRunByActorSystemTerminate()
-
DefaultVirtualNodesFactor
public final int DefaultVirtualNodesFactor()
-
toString
public java.lang.String toString()
Returns the String representation of the Config that this Settings is backed by- Overrides:
toString
in classjava.lang.Object
-
-