A B C D E F G H I L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
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.
- 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 Type 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 - io.micronaut.scheduling.executor.ThreadSelection
-
Automatically select the thread to run operations on based on the return type and/or
Blocking
orNonBlocking
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() - Method in annotation type io.micronaut.runtime.context.env.ConfigurationAdvice
- build(String...) - Static method in class io.micronaut.runtime.Micronaut
-
Run the application for the given arguments.
C
- CACHED - io.micronaut.scheduling.executor.ExecutorType
- 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 interface io.micronaut.scheduling.instrument.Instrumentation
-
Closes the active instrumentation.
- close() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
- close() - Method in class io.micronaut.scheduling.processor.ScheduledMethodProcessor
- close(boolean) - Method in interface io.micronaut.scheduling.instrument.Instrumentation
-
Closes the active instrumentation with cleanup flag.
- closeWatchService() - Method in class io.micronaut.scheduling.io.watch.DefaultWatchThread
-
Closes the watch service.
- combine(Collection<InvocationInstrumenter>) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Combines multiple instrumenters into one.
- 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.
- ConfigurationAdvice - Annotation Type 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. - create(String) - Static method in class io.micronaut.scheduling.cron.CronExpression
-
Create object from the String expression.
- CREATE - io.micronaut.scheduling.io.watch.event.WatchEventType
-
A file / directory was created.
- cron() - Method in annotation type io.micronaut.scheduling.annotation.Scheduled
- CronExpression - Class in io.micronaut.scheduling.cron
-
This provides cron support for Java 8 using java-time.
D
- 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>) - 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 - 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 theApplicationContext
. - 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
- EventListener - Annotation Type in io.micronaut.runtime.event.annotation
-
An
Adapter
advice annotation that allows listening for events by implementing theApplicationEventListener
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 Type 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 onUserExecutorConfiguration
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 in io.micronaut.scheduling.executor
-
An enum modelling different
Executor
types that mirror the methods defined in theExecutors
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.
- FileWatchRestartListener(EmbeddedServer) - Constructor for class io.micronaut.runtime.server.watch.event.FileWatchRestartListener
-
Deprecated.Use
FileWatchRestartListener(EmbeddedApplication)
instead. - findBeanRegistration(T) - Method in class io.micronaut.runtime.context.scope.refresh.RefreshScope
- FIXED - io.micronaut.scheduling.executor.ExecutorType
- fixedDelay() - Method in annotation type 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() - Method in annotation type io.micronaut.scheduling.annotation.Scheduled
-
A String representation of the
Duration
between executions. - forceCleanup() - Method in interface io.micronaut.scheduling.instrument.Instrumentation
-
Return an instance which guarantees that cleanup will be forced to the instrumenter upon closing.
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
- 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
- initialDelay() - Method in annotation type 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(Runnable, InvocationInstrumenter) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Wraps
Runnable
with instrumentation invocations. - instrument(Runnable, Collection<InvocationInstrumenter>) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Wraps
Runnable
with instrumentation invocations. - instrument(Callable<T>) - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
-
Instruments the given callable task.
- instrument(Callable<V>, InvocationInstrumenter) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Wraps
Callable
with instrumentation invocations. - instrument(Callable<V>, Collection<InvocationInstrumenter>) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Wraps
Callable
with instrumentation invocations. - instrument(Executor, InvocationInstrumenter) - Static method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Wraps the
executor
so that every tasks submitted to it will be executed instrumented with the giveninvocationInstrumenter
. - Instrumentation - Interface in io.micronaut.scheduling.instrument
-
Instrumentation represents an ongoing instrumentation with a given context of
InvocationInstrumenter
if any. - 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
- InvocationInstrumenter - Interface in io.micronaut.scheduling.instrument
-
An interface for invocation instrumentation.
- InvocationInstrumenterFactory - Interface in io.micronaut.scheduling.instrument
-
An factory interface for invocation instrumentation, factory method decides if instrumentation is needed.
- 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 - 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.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.reactive - package io.micronaut.runtime.converters.reactive
-
Contains classes for reactive streams conversion.
- 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
- isTerminated() - Method in interface io.micronaut.scheduling.instrument.InstrumentedExecutorService
- iterable() - Method in annotation type io.micronaut.runtime.context.env.ConfigurationAdvice
L
- LOG - Static variable in class io.micronaut.scheduling.io.watch.WatchServiceFactory
M
- mainClass(Class) - Method in class io.micronaut.runtime.Micronaut
- MANUAL - 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.scheduling.io.watch.FileWatchCondition
- 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 - io.micronaut.scheduling.io.watch.event.WatchEventType
-
A file / directory was modified.
N
- name - Variable in class io.micronaut.scheduling.executor.UserExecutorConfiguration
- newInstrumentation() - Method in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
- newInvocationInstrumenter() - Method in interface io.micronaut.scheduling.instrument.InvocationInstrumenterFactory
-
An optional invocation instrumentation.
- newReactiveInvocationInstrumenter() - Method in interface io.micronaut.scheduling.instrument.ReactiveInvocationInstrumenterFactory
-
An optional invocation instrumentation.
- 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.
- noop() - Static method in interface io.micronaut.scheduling.instrument.Instrumentation
- NOOP - Static variable in interface io.micronaut.scheduling.instrument.InvocationInstrumenter
-
Noop implementation if
InvocationInstrumenter
. - 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 givenExecutorType
. - of(ExecutorType, int) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
-
Construct a
UserExecutorConfiguration
for the givenExecutorType
. - of(ExecutorType, int, Class<? extends ThreadFactory>) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
-
Construct a
UserExecutorConfiguration
for the givenExecutorType
. - of(String, ExecutorType) - Static method in class io.micronaut.scheduling.executor.UserExecutorConfiguration
-
Construct a
UserExecutorConfiguration
for the givenExecutorType
. - of(WatchEvent.Kind) - Static method in enum io.micronaut.scheduling.io.watch.event.WatchEventType
-
Produces a
WatchEventType
for the givenWatchEvent.kind()
. - 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
- ReactiveInvocationInstrumenterFactory - Interface in io.micronaut.scheduling.instrument
-
An factory interface for reactive invocation instrumentation, factory method decides if instrumentation is needed.
- ReactiveTypeConverterRegistrar - Class in io.micronaut.runtime.converters.reactive
-
Registers converters for Reactive types such as
Publisher
. - ReactiveTypeConverterRegistrar() - Constructor for class io.micronaut.runtime.converters.reactive.ReactiveTypeConverterRegistrar
- Refreshable - Annotation Type 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 aRefreshEvent
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
- RefreshScope(BeanContext, Executor) - Constructor for class io.micronaut.runtime.context.scope.refresh.RefreshScope
-
Deprecated.
- register(ConversionService<?>) - Method in class io.micronaut.runtime.converters.reactive.ReactiveTypeConverterRegistrar
- register(ConversionService<?>) - 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, 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, 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(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.
- schedule(Callable<V>, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface io.micronaut.scheduling.instrument.InstrumentedScheduledExecutorService
- scheduleAtFixedRate(Duration, Duration, Runnable) - Method in class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
- 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
theninitialDelay+period
, theninitialDelay + 2 * period
, and so on. - Scheduled - Annotation Type in io.micronaut.scheduling.annotation
-
An annotation for scheduling a re-occurring task.
- SCHEDULED - 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 theScheduled
annotation. - ScheduledMethodProcessor(BeanContext, Optional<ConversionService<?>>, TaskExceptionHandler<?, ?>) - Constructor for class io.micronaut.scheduling.processor.ScheduledMethodProcessor
- scheduler() - Method in annotation type 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 Type 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 class io.micronaut.scheduling.ScheduledExecutorTaskScheduler
- 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.
- ScopedProxy - Annotation Type 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 givenMethodReference
. - 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
- 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.
- 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 java.lang.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.
- ThreadLocal - Annotation Type in io.micronaut.runtime.context.scope
-
A
CustomScope
that stores objects in thread local storage. - ThreadSelection - Enum 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
U
- UserExecutorConfiguration - Class in io.micronaut.scheduling.executor
-
Allows configuration
ExecutorService
instances that are made available as beans. - UserExecutorConfiguration(String, Integer, ExecutorType, Integer, Integer, Class<? extends ThreadFactory>) - Constructor for class io.micronaut.scheduling.executor.UserExecutorConfiguration
-
Default Constructor.
V
- value() - Method in annotation type io.micronaut.runtime.context.env.ConfigurationAdvice
- value() - Method in annotation type io.micronaut.runtime.context.scope.Refreshable
- value() - Method in annotation type io.micronaut.scheduling.annotation.Async
-
The name of the executor service to execute the task on.
- value() - Method in annotation type io.micronaut.scheduling.annotation.ExecuteOn
- value() - Method in annotation type io.micronaut.scheduling.annotation.Schedules
- valueOf(String) - Static method in enum io.micronaut.scheduling.executor.ExecutorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.micronaut.scheduling.executor.ThreadSelection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.micronaut.scheduling.io.watch.event.WatchEventType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.micronaut.scheduling.executor.ExecutorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.micronaut.scheduling.executor.ThreadSelection
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.micronaut.scheduling.io.watch.event.WatchEventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WatchEventType - Enum 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 - io.micronaut.scheduling.executor.ExecutorType
Z
- zoneId() - Method in annotation type io.micronaut.scheduling.annotation.Scheduled
-
A String representation of the
ZoneId
to base our cron expression on.
All Classes All Packages