Index

A B C D E F G H I L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractEmbeddedApplicationEvent - Class in io.micronaut.runtime.event
An abstract event for events specific to server applications.
AbstractEmbeddedApplicationEvent(EmbeddedApplication<?>) - Constructor for class io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
Constructs a prototypical Event.
ALL - Enum constant in enum class io.micronaut.logging.LogLevel
 
annotationType() - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
APPLICATION_NAME - Static variable in class io.micronaut.runtime.ApplicationConfiguration
Property name for Micronaut application name.
ApplicationConfiguration - Class in io.micronaut.runtime
Common application configuration.
ApplicationConfiguration() - Constructor for class io.micronaut.runtime.ApplicationConfiguration
 
ApplicationConfiguration.InstanceConfiguration - Class in io.micronaut.runtime
Configuration for instance settings.
ApplicationShutdownEvent - Class in io.micronaut.runtime.event
Event fired when an EmbeddedApplication shuts down.
ApplicationShutdownEvent(EmbeddedApplication<?>) - Constructor for class io.micronaut.runtime.event.ApplicationShutdownEvent
Constructs a prototypical Event.
ApplicationStartupEvent - Class in io.micronaut.runtime.event
Event fired when an EmbeddedApplication starts up.
ApplicationStartupEvent(EmbeddedApplication<?>) - Constructor for class io.micronaut.runtime.event.ApplicationStartupEvent
Constructs a prototypical Event.
ApplicationStartupException - Exception in io.micronaut.runtime.exceptions
Thrown when the application fails to start.
ApplicationStartupException(String) - Constructor for exception io.micronaut.runtime.exceptions.ApplicationStartupException
Create exception with detailed message and cause.
ApplicationStartupException(String, Throwable) - Constructor for exception io.micronaut.runtime.exceptions.ApplicationStartupException
Create exception with detailed message and cause.
args(String...) - Method in class io.micronaut.runtime.Micronaut
 
Async - Annotation Interface in io.micronaut.scheduling.annotation
An annotation that can be applied to any method that returns void or an instance of CompletionStage to indicate the actual execution should occur on the given thread pool.
AsyncInterceptor - Class in io.micronaut.scheduling.async
Interceptor implementation for the Async annotation.
AUTO - Enum constant in enum class io.micronaut.scheduling.executor.ThreadSelection
Automatically select the thread to run operations on based on the return type and/or Blocking or NonBlocking annotations.
AVAILABLE_PROCESSORS - Static variable in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Number of available processors.
awaitTermination(long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 

B

banner(boolean) - Method in class io.micronaut.runtime.Micronaut
 
bean() - Element in annotation interface io.micronaut.runtime.context.env.ConfigurationAdvice
 
BLOCKING - Enum constant in enum class io.micronaut.scheduling.executor.ThreadSelection
I/O selection will run all operations regardless of return type and annotations on the blocking executor and will never schedule an operation on the server event loop thread.
BLOCKING - Static variable in interface io.micronaut.scheduling.TaskExecutors
The name of the ExecutorService used to schedule blocking tasks.
build(String...) - Static method in class io.micronaut.runtime.Micronaut
Run the application for the given arguments.

C

CACHED - Enum constant in enum class io.micronaut.scheduling.executor.ExecutorType
 
checkSupported() - Static method in class io.micronaut.scheduling.LoomSupport
 
classes(Class<?>...) - Method in class io.micronaut.runtime.Micronaut
Add classes to be included in the initialization of the application.
classLoader(ClassLoader) - Method in class io.micronaut.runtime.Micronaut
 
close() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
 
close() - Method in class io.micronaut.scheduling.processor.ScheduledMethodProcessor
 
closeWatchService() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
Closes the watch service.
CompositeMessageSource - Class in io.micronaut.runtime.context
Composite message source that is the primary message source.
CompositeMessageSource(Collection<MessageSource>) - Constructor for class io.micronaut.runtime.context.CompositeMessageSource
The other messages sources.
condition() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
A custom expression that can be used to indicate whether the job should run.
ConfigurationAdvice - Annotation Interface in io.micronaut.runtime.context.env
Internal annotation that allows the definition on ConfigurationProperties on interfaces.
ConfigurationIntroductionAdvice - Class in io.micronaut.runtime.context.env
Internal introduction advice used to allow ConfigurationProperties on interfaces.
configure(ClassLoader, LoggerContext, String) - Static method in class io.micronaut.logging.impl.LogbackUtils
Configures a Logger Context.
create(String) - Static method in class io.micronaut.scheduling.cron.CronExpression
Create object from the String expression.
CREATE - Enum constant in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
A file / directory was created.
cron() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
 
CronExpression - Class in io.micronaut.scheduling.cron
This provides cron support for Java 8 using java-time.

D

DEBUG - Enum constant in enum class io.micronaut.logging.LogLevel
 
DEFAULT_CHARSET - Static variable in class io.micronaut.runtime.ApplicationConfiguration
Property name for Micronaut default charset.
DEFAULT_POSITION - Static variable in interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener
The default position as defined by Ordered.getOrder().
defaultEnvironments(String...) - Method in class io.micronaut.runtime.Micronaut
 
DefaultExecutorSelector - Class in io.micronaut.scheduling.executor
Default implementation of the ExecutorSelector interface that regards methods that return reactive types as non-blocking.
DefaultExecutorSelector(BeanLocator, BeanProvider<ExecutorService>, BeanProvider<ExecutorService>) - Constructor for class io.micronaut.scheduling.executor.DefaultExecutorSelector
Default constructor.
DefaultTaskExceptionHandler - Class in io.micronaut.scheduling
The default exception handler used if non-other is found.
DefaultTaskExceptionHandler() - Constructor for class io.micronaut.scheduling.DefaultTaskExceptionHandler
 
DefaultThreadFactory - Class in io.micronaut.scheduling.executor
The default thread factory used for creating threads in Micronaut.
DefaultThreadFactory() - Constructor for class io.micronaut.scheduling.executor.DefaultThreadFactory
 
DefaultWatchThread - Class in io.micronaut.scheduling.io.watch
Simple watch service that simply stops the server if any changes occur.
DefaultWatchThread(ApplicationEventPublisher, FileWatchConfiguration, WatchService) - Constructor for class io.micronaut.scheduling.io.watch.DefaultWatchThread
Default constructor.
DELETE - Enum constant in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
A file / directory was deleted.

E

EmbeddedApplication<T extends EmbeddedApplication> - Interface in io.micronaut.runtime
An EmbeddedApplication is a runnable application that starts and manages the ApplicationContext.
EmbeddedServer - Interface in io.micronaut.runtime.server
An EmbeddedServer is a general abstraction to manage the lifecycle of any server implementation within a running Micronaut application.
ENABLED - Static variable in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Setting to enable and disable server watch.
environmentPropertySource(boolean) - Method in class io.micronaut.runtime.Micronaut
 
environments(String...) - Method in class io.micronaut.runtime.Micronaut
 
environmentVariableExcludes(String...) - Method in class io.micronaut.runtime.Micronaut
 
environmentVariableIncludes(String...) - Method in class io.micronaut.runtime.Micronaut
 
ERROR - Enum constant in enum class io.micronaut.logging.LogLevel
 
EventListener - Annotation Interface in io.micronaut.runtime.event.annotation
An Adapter advice annotation that allows listening for events by implementing the ApplicationEventListener interface.
eventLoopGroupThreadFactory(ExecutorConfiguration) - Method in class io.micronaut.scheduling.executor.ExecutorFactory
Constructs an executor thread factory.
exclude(String...) - Method in class io.micronaut.runtime.Micronaut
 
execute(Runnable) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutor
 
ExecuteOn - Annotation Interface in io.micronaut.scheduling.annotation
Annotation used to indicate which executor service a particular task should run on.
ExecutorConfiguration - Interface in io.micronaut.scheduling.executor
 
ExecutorFactory - Class in io.micronaut.scheduling.executor
Constructs ExecutorService instances based on UserExecutorConfiguration instances.
ExecutorFactory(BeanLocator, ThreadFactory) - Constructor for class io.micronaut.scheduling.executor.ExecutorFactory
 
ExecutorSelector - Interface in io.micronaut.scheduling.executor
Interface that allows customizing the selection of the ExecutorService to run an operation on.
executorService(ExecutorConfiguration) - Method in class io.micronaut.scheduling.executor.ExecutorFactory
Create the ExecutorService with the given configuration.
ExecutorType - Enum Class in io.micronaut.scheduling.executor
An enum modelling different Executor types that mirror the methods defined in the Executors class.

F

FileChangedEvent - Class in io.micronaut.scheduling.io.watch.event
Event fired when a file that is being watched changes.
FileChangedEvent(Path, WatchEventType) - Constructor for class io.micronaut.scheduling.io.watch.event.FileChangedEvent
Constructs a new file changed event.
FileChangedEvent(Path, WatchEvent.Kind) - Constructor for class io.micronaut.scheduling.io.watch.event.FileChangedEvent
Constructs a new file changed event.
FileWatchCondition - Class in io.micronaut.scheduling.io.watch
Custom condition to only enable file watch if the watch paths exist.
FileWatchCondition() - Constructor for class io.micronaut.scheduling.io.watch.FileWatchCondition
 
FileWatchConfiguration - Class in io.micronaut.scheduling.io.watch
Configuration for the file watch service.
FileWatchConfiguration() - Constructor for class io.micronaut.scheduling.io.watch.FileWatchConfiguration
 
FileWatchRestartListener - Class in io.micronaut.runtime.server.watch.event
Listener that stops the server if a file changes.
FileWatchRestartListener(EmbeddedApplication<?>) - Constructor for class io.micronaut.runtime.server.watch.event.FileWatchRestartListener
Default constructor.
findBeanRegistration(T) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
FIXED - Enum constant in enum class io.micronaut.scheduling.executor.ExecutorType
 
fixedDelay() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
A String representation of the Duration between the time of the last execution and the beginning of the next.
fixedRate() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
A String representation of the Duration between executions.

G

getApplicationConfiguration() - Method in interface io.micronaut.runtime.EmbeddedApplication
 
getApplicationContext() - Method in interface io.micronaut.runtime.EmbeddedApplication
 
getCheckInterval() - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
The interval to wait between checks.
getContextURI() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getCorePoolSize() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getCorePoolSize() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getDefaultCharset() - Method in class io.micronaut.runtime.ApplicationConfiguration
 
getEnvironment() - Method in interface io.micronaut.runtime.EmbeddedApplication
 
getEventType() - Method in class io.micronaut.scheduling.io.watch.event.FileChangedEvent
The watch event type.
getExpression() - Method in class io.micronaut.scheduling.cron.CronExpression
 
getGroup() - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
getHost() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getId() - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
getInstance() - Method in class io.micronaut.runtime.ApplicationConfiguration
 
getLock(Object) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
getMetadata() - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
getName() - Method in class io.micronaut.runtime.ApplicationConfiguration
The application name.
getName() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getName() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getNumberOfThreads() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getNumberOfThreads() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getObservedConfigurationPrefixes() - Method in interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener
Returns the set of observed configuration prefixes that the event listener should listen for.
getOrCreate(BeanCreationContext<T>) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
getOrder() - Method in interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener
 
getOrder() - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
getOrder() - Method in class io.micronaut.scheduling.async.AsyncInterceptor
 
getParallelism() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getParallelism() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getPath() - Method in class io.micronaut.scheduling.io.watch.event.FileChangedEvent
The path to the file / directory that changed.
getPaths() - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
The paths to watch.
getPort() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getRawMessage(String, MessageSource.MessageContext) - Method in class io.micronaut.runtime.context.CompositeMessageSource
 
getScheme() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getSource() - Method in class io.micronaut.runtime.context.scope.refresh.RefreshEvent
 
getSource() - Method in class io.micronaut.runtime.event.AbstractEmbeddedApplicationEvent
 
getSource() - Method in class io.micronaut.runtime.server.event.ServerShutdownEvent
 
getSource() - Method in class io.micronaut.runtime.server.event.ServerStartupEvent
 
getSource() - Method in class io.micronaut.scheduling.io.watch.event.FileChangedEvent
 
getTarget() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutor
Implementors can override to specify the target Executor.
getTarget() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
Implementors can override to specify the target ExecutorService.
getTarget() - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
 
getThreadFactoryClass() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getThreadFactoryClass() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getType() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
getType() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
getURI() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getURL() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
getWatchService() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
 
getZone() - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 

H

handle(Object, Throwable) - Method in class io.micronaut.scheduling.DefaultTaskExceptionHandler
 
handleCreationFailure(BeanDefinition<T>, E) - Method in interface io.micronaut.scheduling.TaskExceptionHandler
Handle an error that occurs during creation of the scheduled task.
handleStartupException(Environment, Throwable) - Method in class io.micronaut.runtime.Micronaut
Default handling of startup exceptions.

I

include(String...) - Method in class io.micronaut.runtime.Micronaut
 
INFO - Enum constant in enum class io.micronaut.logging.LogLevel
 
initialDelay() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
A String representation of the Duration before starting executions.
INSTANCE_ID - Static variable in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
Property name for Micronaut instance id.
InstanceConfiguration() - Constructor for class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
instrument(Runnable) - Method in interface io.micronaut.scheduling.instrument.RunnableInstrumenter
Implementors can override to instrument a Runnable.
instrument(Callable<T>) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
Instruments the given callable task.
InstrumentedExecutor - Interface in io.micronaut.scheduling.instrument
An Executor that has been instrumented to allow for propagation of thread state and other instrumentation related tasks.
InstrumentedExecutorService - Interface in io.micronaut.scheduling.instrument
An ExecutorService that has been instrumented to allow for propagation of thread state and other instrumentation related tasks.
InstrumentedScheduledExecutorService - Interface in io.micronaut.scheduling.instrument
A ScheduledExecutorService that has been instrumented.
intercept(MethodInvocationContext) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshInterceptor
 
intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.runtime.context.env.ConfigurationIntroductionAdvice
 
intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.scheduling.async.AsyncInterceptor
 
invokeAll(Collection<? extends Callable<T>>) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
IO - Enum constant in enum class io.micronaut.scheduling.executor.ThreadSelection
I/O selection will run all operations regardless of return type and annotations on the I/O thread pool and will never schedule an operation on the server event loop thread.
IO - Static variable in interface io.micronaut.scheduling.TaskExecutors
The name of the ExecutorService used to schedule I/O tasks.
io.micronaut.logging - package io.micronaut.logging
 
io.micronaut.logging.impl - package io.micronaut.logging.impl
 
io.micronaut.runtime - package io.micronaut.runtime
Main entrypoint for Micronaut.
io.micronaut.runtime.context - package io.micronaut.runtime.context
 
io.micronaut.runtime.context.env - package io.micronaut.runtime.context.env
Command line property source.
io.micronaut.runtime.context.scope - package io.micronaut.runtime.context.scope
Annotations for context scope.
io.micronaut.runtime.context.scope.refresh - package io.micronaut.runtime.context.scope.refresh
Refresh handling.
io.micronaut.runtime.converters.time - package io.micronaut.runtime.converters.time
Runtime time conversion.
io.micronaut.runtime.event - package io.micronaut.runtime.event
Common applications events.
io.micronaut.runtime.event.annotation - package io.micronaut.runtime.event.annotation
Event related annotations.
io.micronaut.runtime.exceptions - package io.micronaut.runtime.exceptions
Runtime exceptions.
io.micronaut.runtime.server - package io.micronaut.runtime.server
Embedded server.
io.micronaut.runtime.server.event - package io.micronaut.runtime.server.event
Server shutdown and startup events.
io.micronaut.runtime.server.watch.event - package io.micronaut.runtime.server.watch.event
 
io.micronaut.scheduling - package io.micronaut.scheduling
Scheduling execution services.
io.micronaut.scheduling.annotation - package io.micronaut.scheduling.annotation
Scheduling annotations.
io.micronaut.scheduling.async - package io.micronaut.scheduling.async
Classes related to handling the Async annotation.
io.micronaut.scheduling.cron - package io.micronaut.scheduling.cron
Scheduling for Cron expressions.
io.micronaut.scheduling.exceptions - package io.micronaut.scheduling.exceptions
Scheduling Exceptions.
io.micronaut.scheduling.executor - package io.micronaut.scheduling.executor
Scheduling Execution configuration and factory.
io.micronaut.scheduling.instrument - package io.micronaut.scheduling.instrument
Interfaces for simplifying instrumentation of ExecutorService instances.
io.micronaut.scheduling.io.watch - package io.micronaut.scheduling.io.watch
Classes related to file watch.
io.micronaut.scheduling.io.watch.event - package io.micronaut.scheduling.io.watch.event
Events related to file watch changes.
io.micronaut.scheduling.processor - package io.micronaut.scheduling.processor
Scheduled method processing.
IOExecutorServiceConfig - Class in io.micronaut.scheduling.executor
Configures the default I/O thread pool if none is configured by the user.
IOExecutorServiceConfig() - Constructor for class io.micronaut.scheduling.executor.IOExecutorServiceConfig
 
isEnabled() - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
 
isForceExit() - Method in interface io.micronaut.runtime.EmbeddedApplication
Most servers shutdown cleanly, however some integrations make require a forced exist.
isKeepAlive() - Method in interface io.micronaut.runtime.server.EmbeddedServer
Most servers provide a way to block such that the server doesn't exit, however some require the creation of a keep alive thread.
isRestart() - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Should the server be shutdown when a watch event fires.
isRunning() - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
isRunning() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
 
isServer() - Method in interface io.micronaut.runtime.EmbeddedApplication
This method returns whether the application is a server application or not.
isServer() - Method in interface io.micronaut.runtime.server.EmbeddedServer
 
isShutdown() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
isSupported() - Static method in class io.micronaut.scheduling.LoomSupport
 
isTerminated() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
isVirtual() - Method in interface io.micronaut.scheduling.executor.ExecutorConfiguration
 
isVirtual() - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
iterable() - Element in annotation interface io.micronaut.runtime.context.env.ConfigurationAdvice
 

L

LOG - Static variable in class io.micronaut.scheduling.io.watch.WatchServiceFactory
 
Log4jLoggingSystem - Class in io.micronaut.logging.impl
An implementation of LoggingSystem that works with Log4j.
Log4jLoggingSystem() - Constructor for class io.micronaut.logging.impl.Log4jLoggingSystem
 
LogbackLoggingSystem - Class in io.micronaut.logging.impl
An implementation of LoggingSystem that works with logback.
LogbackLoggingSystem(String, String) - Constructor for class io.micronaut.logging.impl.LogbackLoggingSystem
 
LogbackUtils - Class in io.micronaut.logging.impl
Utility methods to configure LoggerContext.
LoggingConverterRegistrar - Class in io.micronaut.logging
Logging converters.
LoggingConverterRegistrar() - Constructor for class io.micronaut.logging.LoggingConverterRegistrar
 
LoggingSystem - Interface in io.micronaut.logging
Abstraction for a logging system.
LoggingSystemException - Exception in io.micronaut.logging
Thrown when something goes wrong on Logging System.
LoggingSystemException(String) - Constructor for exception io.micronaut.logging.LoggingSystemException
Create exception with detailed message and cause.
LoggingSystemException(String, Throwable) - Constructor for exception io.micronaut.logging.LoggingSystemException
Create exception with detailed message and cause.
LogLevel - Enum Class in io.micronaut.logging
Logging levels supported by a LoggingSystem Typically, a logging system may permit the log level to be null, representing an unspecified log level.
LoomCondition() - Constructor for class io.micronaut.scheduling.LoomSupport.LoomCondition
 
LoomSupport - Class in io.micronaut.scheduling
 
LoomSupport.LoomCondition - Class in io.micronaut.scheduling
Condition that only matches if virtual threads are supported on this platform.

M

mainClass(Class<?>) - Method in class io.micronaut.runtime.Micronaut
 
MANUAL - Enum constant in enum class io.micronaut.scheduling.executor.ThreadSelection
Manual selection leaves it up to the user code to spawn threads to run any blocking I/O operations.
mapError(Class<T>, Function<T, Integer>) - Method in class io.micronaut.runtime.Micronaut
Maps an exception to the given error code.
matches(ConditionContext) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScopeCondition
 
matches(ConditionContext) - Method in class io.micronaut.scheduling.io.watch.FileWatchCondition
 
matches(ConditionContext) - Method in class io.micronaut.scheduling.LoomSupport.LoomCondition
 
MESSAGE_CONSUMER - Static variable in interface io.micronaut.scheduling.TaskExecutors
The name of the ScheduledExecutorService used to run message consumers such as a Kafka or RabbitMQ listeners.
Micronaut - Class in io.micronaut.runtime
Main entry point for running a Micronaut application.
Micronaut() - Constructor for class io.micronaut.runtime.Micronaut
The default constructor.
MODIFY - Enum constant in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
A file / directory was modified.

N

name - Variable in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
newThreadPerTaskExecutor(ThreadFactory) - Static method in class io.micronaut.scheduling.LoomSupport
 
newVirtualThreadFactory(String) - Static method in class io.micronaut.scheduling.LoomSupport
 
nextTimeAfter(ZonedDateTime) - Method in class io.micronaut.scheduling.cron.CronExpression
This will search for the next time within the next 4 years.
nextTimeAfter(ZonedDateTime, long) - Method in class io.micronaut.scheduling.cron.CronExpression
This will search for the next time within the next durationInMillis millisecond.
nextTimeAfter(ZonedDateTime, ZonedDateTime) - Method in class io.micronaut.scheduling.cron.CronExpression
This will search for the next time within the given dateTimeBarrier.
NOT_SPECIFIED - Enum constant in enum class io.micronaut.logging.LogLevel
 
nThreads - Variable in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 

O

of(ExecutorType) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Construct a UserExecutorConfiguration for the given ExecutorType.
of(ExecutorType, int) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Construct a UserExecutorConfiguration for the given ExecutorType.
of(ExecutorType, int, Class<? extends ThreadFactory>) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Construct a UserExecutorConfiguration for the given ExecutorType.
of(String, ExecutorType) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Construct a UserExecutorConfiguration for the given ExecutorType.
of(WatchEvent.Kind) - Static method in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
Produces a WatchEventType for the given WatchEvent.kind().
OFF - Enum constant in enum class io.micronaut.logging.LogLevel
 
onApplicationEvent(RefreshEvent) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
onApplicationEvent(FileChangedEvent) - Method in class io.micronaut.runtime.server.watch.event.FileWatchRestartListener
 
onRefreshEvent(RefreshEvent) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
Handle a RefreshEvent synchronously.

P

packages(String...) - Method in class io.micronaut.runtime.Micronaut
 
PATHS - Static variable in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
The watch paths.
POSITION - Static variable in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
PREFIX - Static variable in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
Prefix for Micronaut instance settings.
PREFIX - Static variable in class io.micronaut.runtime.ApplicationConfiguration
Prefix for Micronaut application settings.
PREFIX - Static variable in interface io.micronaut.scheduling.executor.ExecutorConfiguration
The prefix used for configuration.
PREFIX - Static variable in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
The prefix to use to configure the watch service.
PREFIX_CONSUMER - Static variable in interface io.micronaut.scheduling.executor.ExecutorConfiguration
The prefix used for Scheduled task configuration.
PREFIX_IO - Static variable in interface io.micronaut.scheduling.executor.ExecutorConfiguration
The prefix used for I/O pool configuration.
PREFIX_SCHEDULED - Static variable in interface io.micronaut.scheduling.executor.ExecutorConfiguration
The prefix used for Scheduled task configuration.
process(BeanDefinition<?>, ExecutableMethod<?, ?>) - Method in class io.micronaut.scheduling.processor.ScheduledMethodProcessor
 
properties(Map<String, Object>) - Method in class io.micronaut.runtime.Micronaut
 
propertySources(PropertySource...) - Method in class io.micronaut.runtime.Micronaut
 

R

refresh() - Method in class io.micronaut.logging.impl.LogbackLoggingSystem
 
refresh() - Method in interface io.micronaut.logging.LoggingSystem
Refreshes Logging System with the goal of cleaning its internal caches.
Refreshable - Annotation Interface in io.micronaut.runtime.context.scope
A custom scope that allows target beans to be refreshed.
RefreshEvent - Class in io.micronaut.runtime.context.scope.refresh
An ApplicationEvent for handling refreshes.
RefreshEvent() - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshEvent
Constructs a refresh Event that refreshes all keys.
RefreshEvent(Map<String, Object>) - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshEvent
Constructs a prototypical Event.
RefreshEventListener - Interface in io.micronaut.runtime.context.scope.refresh
A convenience interface that can be implemented if a component needs to listen for RefreshEvent where the implementation is only interested in a limited set of configuration prefixes.
RefreshInterceptor - Class in io.micronaut.runtime.context.scope.refresh
A MethodInterceptor that will lock the bean preventing it from being destroyed by a RefreshEvent until the method completes.
RefreshInterceptor(RefreshScope) - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshInterceptor
 
RefreshScope - Class in io.micronaut.runtime.context.scope.refresh
Implementation of Refreshable.
RefreshScope(BeanContext) - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
RefreshScopeCondition - Class in io.micronaut.runtime.context.scope.refresh
As an optimization, RefreshScope is disabled for function and android environments when not under test.
RefreshScopeCondition() - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshScopeCondition
 
register(MutableConversionService) - Method in class io.micronaut.logging.LoggingConverterRegistrar
 
register(MutableConversionService) - Method in class io.micronaut.runtime.converters.time.TimeConverterRegistrar
 
registerPath(Path) - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
Registers a patch to watch.
remove(BeanIdentifier) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
RESTART - Static variable in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Setting to enable and disable restart.
run(Class<?>[], String...) - Static method in class io.micronaut.runtime.Micronaut
Run the application for the given arguments.
run(Class<?>, String...) - Static method in class io.micronaut.runtime.Micronaut
Run the application for the given arguments.
run(String...) - Static method in class io.micronaut.runtime.Micronaut
Run the application for the given arguments.
RunnableInstrumenter - Interface in io.micronaut.scheduling.instrument
Interface for classes that instrument Runnable instances.

S

schedule(Runnable, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
 
schedule(String, String, Runnable) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(String, String, Callable<V>) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
schedule(String, String, Callable<V>) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(Callable<V>, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
 
schedule(String, Runnable) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
schedule(String, Runnable) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(String, Callable<V>) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
schedule(String, Callable<V>) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(Duration, Runnable) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
schedule(Duration, Runnable) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(Duration, Callable<V>) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
schedule(Duration, Callable<V>) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
 
scheduleAtFixedRate(Duration, Duration, Runnable) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
scheduleAtFixedRate(Duration, Duration, Runnable) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
Scheduled - Annotation Interface in io.micronaut.scheduling.annotation
An annotation for scheduling a re-occurring task.
SCHEDULED - Enum constant in enum class io.micronaut.scheduling.executor.ExecutorType
 
SCHEDULED - Static variable in interface io.micronaut.scheduling.TaskExecutors
The name of the ScheduledExecutorService used to schedule background tasks.
ScheduledExecutorServiceConfig - Class in io.micronaut.scheduling.executor
A default executor service for scheduling adhoc tasks via ScheduledExecutorService.
ScheduledExecutorServiceConfig() - Constructor for class io.micronaut.scheduling.executor.ScheduledExecutorServiceConfig
 
ScheduledExecutorTaskScheduler - Class in io.micronaut.scheduling
Simple abstraction over ScheduledExecutorService.
ScheduledExecutorTaskScheduler(ExecutorService) - Constructor for class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
ScheduledMethodProcessor - Class in io.micronaut.scheduling.processor
A ExecutableMethodProcessor for the Scheduled annotation.
ScheduledMethodProcessor(BeanContext, Optional<ConversionService>, TaskExceptionHandler<?, ?>) - Constructor for class io.micronaut.scheduling.processor.ScheduledMethodProcessor
 
scheduler() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
 
SchedulerConfigurationException - Exception in io.micronaut.scheduling.exceptions
 
SchedulerConfigurationException(ExecutableMethod<?, ?>, String) - Constructor for exception io.micronaut.scheduling.exceptions.SchedulerConfigurationException
 
SchedulerConfigurationException(MethodReference<?, ?>, String) - Constructor for exception io.micronaut.scheduling.exceptions.SchedulerConfigurationException
 
Schedules - Annotation Interface in io.micronaut.scheduling.annotation
Repeatable annotation wrapper for Scheduled.
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
 
scheduleWithFixedDelay(Duration, Duration, Runnable) - Method in interface io.micronaut.scheduling.TaskScheduler
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
scheduleWithFixedDelay(Duration, Duration, Runnable) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
 
ScopedProxy - Annotation Interface in io.micronaut.runtime.context.scope
A meta annotation for a scoped proxy.
select(MethodReference<?, ?>, ThreadSelection) - Method in class io.micronaut.scheduling.executor.DefaultExecutorSelector
 
select(MethodReference<?, ?>, ThreadSelection) - Method in interface io.micronaut.scheduling.executor.ExecutorSelector
Select an ExecutorService for the given MethodReference.
select(String) - Method in class io.micronaut.scheduling.executor.DefaultExecutorSelector
 
select(String) - Method in interface io.micronaut.scheduling.executor.ExecutorSelector
Obtain executor for the given name.
ServerShutdownEvent - Class in io.micronaut.runtime.server.event
Event fired when the EmbeddedServer shuts down.
ServerShutdownEvent(EmbeddedServer) - Constructor for class io.micronaut.runtime.server.event.ServerShutdownEvent
Constructs a prototypical Event.
ServerStartupEvent - Class in io.micronaut.runtime.server.event
Event fired when the EmbeddedServer completes startup.
ServerStartupEvent(EmbeddedServer) - Constructor for class io.micronaut.runtime.server.event.ServerStartupEvent
Constructs a prototypical Event.
setCheckInterval(Duration) - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Sets the interval to wait between file watch polls.
setCorePoolSize(Integer) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the core pool size for ExecutorType.SCHEDULED.
setDefaultCharset(Charset) - Method in class io.micronaut.runtime.ApplicationConfiguration
Default value (UTF-8).
setEnabled(boolean) - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Whether watch is enabled.
setGroup(String) - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
setId(String) - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
setInstance(ApplicationConfiguration.InstanceConfiguration) - Method in class io.micronaut.runtime.ApplicationConfiguration
 
setLogLevel(String, LogLevel) - Method in interface io.micronaut.logging.LoggingSystem
Set the log level for the logger found by name (or created if not found).
setLogLevel(String, LogLevel) - Method in class io.micronaut.logging.impl.Log4jLoggingSystem
 
setLogLevel(String, LogLevel) - Method in class io.micronaut.logging.impl.LogbackLoggingSystem
 
setMetadata(Map<String, String>) - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
setName(String) - Method in class io.micronaut.runtime.ApplicationConfiguration
 
setName(String) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the executor name.
setNumberOfThreads(Integer) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the number of threads for ExecutorType.FIXED.
setParallelism(Integer) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the parallelism for ExecutorType.WORK_STEALING.
setPaths(List<Path>) - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Sets the watch paths to use.
setRestart(boolean) - Method in class io.micronaut.scheduling.io.watch.FileWatchConfiguration
Set whether restart is enabled.
setThreadFactoryClass(Class<? extends ThreadFactory>) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the thread factory class.
setType(ExecutorType) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
Sets the executor type.
setVirtual(boolean) - Method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
 
setZone(String) - Method in class io.micronaut.runtime.ApplicationConfiguration.InstanceConfiguration
 
shutdown() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
shutdownNow() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
singletons(Object...) - Method in class io.micronaut.runtime.Micronaut
 
start() - Method in class io.micronaut.runtime.Micronaut
 
start() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
 
stop() - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
 
stop() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
 
submit(Runnable) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
submit(Runnable, T) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
submit(Callable<T>) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
 
supports(RefreshEvent) - Method in interface io.micronaut.runtime.context.scope.refresh.RefreshEventListener
 
supports(FileChangedEvent) - Method in class io.micronaut.runtime.server.watch.event.FileWatchRestartListener
 

T

TaskExceptionHandler<T,E extends Throwable> - Interface in io.micronaut.scheduling
An exception handler interface for task related exceptions.
TaskExecutionException - Exception in io.micronaut.scheduling.exceptions
 
TaskExecutionException(String) - Constructor for exception io.micronaut.scheduling.exceptions.TaskExecutionException
Constructs a new TaskExecution exception with the specified detail message.
TaskExecutionException(String, Throwable) - Constructor for exception io.micronaut.scheduling.exceptions.TaskExecutionException
Constructs a new TaskExecution exception with the specified detail message and cause.
TaskExecutors - Interface in io.micronaut.scheduling
The names of common task schedulers.
TaskScheduler - Interface in io.micronaut.scheduling
Interface for Scheduling tasks.
THREAD_PER_TASK - Enum constant in enum class io.micronaut.scheduling.executor.ExecutorType
 
ThreadLocal - Annotation Interface in io.micronaut.runtime.context.scope
A CustomScope that stores objects in thread local storage.
ThreadSelection - Enum Class in io.micronaut.scheduling.executor
Enum the controls the ability to select threads in a Micronaut application.
TimeConverterRegistrar - Class in io.micronaut.runtime.converters.time
Registers data time converters.
TimeConverterRegistrar() - Constructor for class io.micronaut.runtime.converters.time.TimeConverterRegistrar
 
toString() - Method in class io.micronaut.scheduling.cron.CronExpression
 
TRACE - Enum constant in enum class io.micronaut.logging.LogLevel
 

U

unwrap(Executor) - Static method in interface io.micronaut.scheduling.instrument.InstrumentedExecutor
Unwrap instrumented executor if needed.
unwrap(ExecutorService) - Static method in interface io.micronaut.scheduling.instrument.InstrumentedExecutor
Unwrap instrumented executor if needed.
UserExecutorConfiguration - Class in io.micronaut.scheduling.executor
Allows configuration ExecutorService instances that are made available as beans.
UserExecutorConfiguration(String, Integer, ExecutorType, Integer, Integer, Boolean, Class<? extends ThreadFactory>) - Constructor for class io.micronaut.scheduling.executor.UserExecutorConfiguration
Default Constructor.

V

value() - Element in annotation interface io.micronaut.runtime.context.env.ConfigurationAdvice
 
value() - Element in annotation interface io.micronaut.runtime.context.scope.Refreshable
 
value() - Element in annotation interface io.micronaut.scheduling.annotation.Async
The name of the executor service to execute the task on.
value() - Element in annotation interface io.micronaut.scheduling.annotation.ExecuteOn
 
value() - Element in annotation interface io.micronaut.scheduling.annotation.Schedules
 
valueOf(String) - Static method in enum class io.micronaut.logging.LogLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micronaut.scheduling.executor.ExecutorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micronaut.scheduling.executor.ThreadSelection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.micronaut.logging.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micronaut.scheduling.executor.ExecutorType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micronaut.scheduling.executor.ThreadSelection
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micronaut.scheduling.io.watch.event.WatchEventType
Returns an array containing the constants of this enum class, in the order they are declared.
VIRTUAL - Static variable in interface io.micronaut.scheduling.TaskExecutors
Executor that runs tasks on virtual threads.

W

WARN - Enum constant in enum class io.micronaut.logging.LogLevel
 
WatchEventType - Enum Class in io.micronaut.scheduling.io.watch.event
The watch event type.
watchService() - Method in class io.micronaut.scheduling.io.watch.WatchServiceFactory
The default WatchService.
WatchServiceFactory - Class in io.micronaut.scheduling.io.watch
A factory that creates the default watch service.
WatchServiceFactory() - Constructor for class io.micronaut.scheduling.io.watch.WatchServiceFactory
 
WORK_STEALING - Enum constant in enum class io.micronaut.scheduling.executor.ExecutorType
 

Z

zoneId() - Element in annotation interface io.micronaut.scheduling.annotation.Scheduled
A String representation of the ZoneId to base our cron expression on.
A B C D E F G H I L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form