Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRedisResource<T> - Class in io.micronaut.crac.resources.redis
-
Redis resources are removed from the context, so they are automatically recreated on restore.
- AbstractRedisResource(BeanContext) - Constructor for class io.micronaut.crac.resources.redis.AbstractRedisResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.DataSourceResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.datasources.HikariDataSourceResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.datasources.UnknownDataSourceResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.NettyEmbeddedServerResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.redis.AbstractRedisResource
- afterRestore(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.RefreshEventResource
- AfterRestoreEvent - Class in io.micronaut.crac.events
-
An event fired after a CRaC checkpoint is restored.
- AfterRestoreEvent(OrderedResource, long) - Constructor for class io.micronaut.crac.events.AfterRestoreEvent
B
- beanContext - Variable in class io.micronaut.crac.resources.redis.AbstractRedisResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.DataSourceResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.datasources.HikariDataSourceResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.datasources.UnknownDataSourceResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.NettyEmbeddedServerResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.redis.RedisCacheResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.redis.RedisNamedConfigResource
- beforeCheckpoint(Context<? extends Resource>) - Method in class io.micronaut.crac.resources.RefreshEventResource
- BeforeCheckpointEvent - Class in io.micronaut.crac.events
-
An event fired when a resource CRaC checkpoint occurs.
- BeforeCheckpointEvent(OrderedResource, long) - Constructor for class io.micronaut.crac.events.BeforeCheckpointEvent
C
- CheckpointSimulator - Interface in io.micronaut.crac.test
-
Provides a mechanism to simulate a checkpoint/restore for testing.
- CompositeDataSourceResolver - Class in io.micronaut.crac.resources.datasources.resolver
-
Composite DataSourceResolver that delegates to a list of resolvers.
- CompositeDataSourceResolver(List<DataSourceResourceResolver>) - Constructor for class io.micronaut.crac.resources.datasources.resolver.CompositeDataSourceResolver
- CracConfiguration - Interface in io.micronaut.crac
-
Configuration for CRaC support.
- CracConfigurationProperties - Class in io.micronaut.crac
-
Configuration for CRaC support.
- CracConfigurationProperties() - Constructor for class io.micronaut.crac.CracConfigurationProperties
- CracContextProvider - Interface in io.micronaut.crac
-
API to get the Context for checkpoint/restore notifications.
- CracEventPublisher - Class in io.micronaut.crac
-
A helper bean to assist in publishing the correct CRaC events when a checkpoint is taken or restored.
- CracEventPublisher(CracConfiguration, ApplicationEventPublisher<BeforeCheckpointEvent>, ApplicationEventPublisher<AfterRestoreEvent>) - Constructor for class io.micronaut.crac.CracEventPublisher
- CracInfoSource - Class in io.micronaut.crac.info
-
Exposes the information contained in the CRaC MXBean via the
InfoEndpoint
. - CracInfoSource() - Constructor for class io.micronaut.crac.info.CracInfoSource
- CracRedisConfiguration - Interface in io.micronaut.crac.resources.redis
-
Configuration for Redis CRaC support.
- CracRedisConfigurationProperties - Class in io.micronaut.crac.resources.redis
-
Configuration for Redis CRaC support.
- CracRedisConfigurationProperties() - Constructor for class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- CracResourceRegistrar - Interface in io.micronaut.crac
-
Registers all defined Resources for Coordinated Restore at Checkpoint.
D
- DataSourceResource - Class in io.micronaut.crac.resources
-
Register DataSources as CRaC resources on startup if CRaC is enabled.
- DataSourceResource(CracConfiguration, CracEventPublisher, DataSource, DataSourceResourceResolver) - Constructor for class io.micronaut.crac.resources.DataSourceResource
- DataSourceResourceResolver - Interface in io.micronaut.crac.resources.datasources.resolver
-
Interface to allow DataSource resolution.
- DEFAULT_CACHE_ENABLED - Static variable in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- DEFAULT_CLIENT_ENABLED - Static variable in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- DEFAULT_CONNECTION_ENABLED - Static variable in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- DEFAULT_DATASOURCE_PAUSE_TIMEOUT - Static variable in class io.micronaut.crac.CracConfigurationProperties
- DEFAULT_ENABLED - Static variable in class io.micronaut.crac.CracConfigurationProperties
-
The default enable value.
- DEFAULT_ENABLED - Static variable in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- DEFAULT_REFRESH - Static variable in class io.micronaut.crac.CracConfigurationProperties
- DefaultCheckpointSimulator - Class in io.micronaut.crac.test
-
Provides a mechanism to simulate a checkpoint/restore for testing.
- DefaultCheckpointSimulator(List<OrderedResource>) - Constructor for class io.micronaut.crac.test.DefaultCheckpointSimulator
- destroyAction(T, Logger, String) - Method in class io.micronaut.crac.resources.redis.AbstractRedisResource
-
Destroy the bean.
F
- fireAfterRestoreEvents(OrderedResource, LongSupplier) - Method in class io.micronaut.crac.CracEventPublisher
-
Fires an
AfterRestoreEvent
event. - fireAfterRestoreEvents(OrderedResource) - Method in class io.micronaut.crac.CracEventPublisher
-
Fires an
AfterRestoreEvent
event with no action to be performed. - fireBeforeCheckpointEvents(OrderedResource) - Method in class io.micronaut.crac.CracEventPublisher
-
Fires a
BeforeCheckpointEvent
event with no action to be performed. - fireBeforeCheckpointEvents(OrderedResource, LongSupplier) - Method in class io.micronaut.crac.CracEventPublisher
-
Fires a
BeforeCheckpointEvent
event.
G
- getDatasourcePauseTimeout() - Method in interface io.micronaut.crac.CracConfiguration
- getDatasourcePauseTimeout() - Method in class io.micronaut.crac.CracConfigurationProperties
- getNow() - Method in class io.micronaut.crac.events.BeforeCheckpointEvent
- getOrder() - Method in class io.micronaut.crac.resources.datasources.resolver.HikariDataSourceResolver
- getOrder() - Method in class io.micronaut.crac.resources.datasources.resolver.HikariDelegatingDataSourceResolver
- getOrder() - Method in class io.micronaut.crac.resources.NettyEmbeddedServerResource
- getOrder() - Method in class io.micronaut.crac.resources.redis.RedisNamedConfigResource
- getOrder() - Method in class io.micronaut.crac.resources.RefreshEventResource
- getSource() - Method in class io.micronaut.crac.info.CracInfoSource
- getTimeTakenNanos() - Method in class io.micronaut.crac.events.BeforeCheckpointEvent
- GlobalCracContextProvider - Class in io.micronaut.crac
-
Gets a Global Context through
Core.getGlobalContext()
. - GlobalCracContextProvider() - Constructor for class io.micronaut.crac.GlobalCracContextProvider
H
- HikariDataSourceResolver - Class in io.micronaut.crac.resources.datasources.resolver
-
If the data Source is of type
DelegatingDataSource
, extract the underlying data source. - HikariDataSourceResolver() - Constructor for class io.micronaut.crac.resources.datasources.resolver.HikariDataSourceResolver
- HikariDataSourceResource - Class in io.micronaut.crac.resources.datasources
-
Handler for Hikari DataSources.
- HikariDataSourceResource(HikariDataSource, CracConfiguration) - Constructor for class io.micronaut.crac.resources.datasources.HikariDataSourceResource
- HikariDelegatingDataSourceResolver - Class in io.micronaut.crac.resources.datasources.resolver
-
If the data Source is of type
DelegatingDataSource
, extract the underlying data source. - HikariDelegatingDataSourceResolver() - Constructor for class io.micronaut.crac.resources.datasources.resolver.HikariDelegatingDataSourceResolver
I
- io.micronaut.crac - package io.micronaut.crac
-
A set of classes to support Coordinated Restore at Checkpoint (CRaC).
- io.micronaut.crac.events - package io.micronaut.crac.events
-
Events that are fired when the CRaC checkpoint methods are executed.
- io.micronaut.crac.info - package io.micronaut.crac.info
- io.micronaut.crac.resources - package io.micronaut.crac.resources
-
Built-in OrderedResources for CRaC integration.
- io.micronaut.crac.resources.datasources - package io.micronaut.crac.resources.datasources
- io.micronaut.crac.resources.datasources.resolver - package io.micronaut.crac.resources.datasources.resolver
- io.micronaut.crac.resources.redis - package io.micronaut.crac.resources.redis
-
A set of classes to support Coordinated Restore at Checkpoint (CRaC) and Redis.
- io.micronaut.crac.test - package io.micronaut.crac.test
- isCacheEnabled() - Method in interface io.micronaut.crac.resources.redis.CracRedisConfiguration
- isCacheEnabled() - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- isClientEnabled() - Method in interface io.micronaut.crac.resources.redis.CracRedisConfiguration
- isClientEnabled() - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- isConnectionEnabled() - Method in interface io.micronaut.crac.resources.redis.CracRedisConfiguration
- isConnectionEnabled() - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- isEnabled() - Method in class io.micronaut.crac.CracConfigurationProperties
- isEnabled() - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- isRefreshBeans() - Method in interface io.micronaut.crac.CracConfiguration
- isRefreshBeans() - Method in class io.micronaut.crac.CracConfigurationProperties
N
- NettyEmbeddedServerResource - Class in io.micronaut.crac.resources
-
Register the NettyEmbedded server as a CRaC resource on startup if CRaC is enabled.
- NettyEmbeddedServerResource(CracEventPublisher, NettyEmbeddedServer) - Constructor for class io.micronaut.crac.resources.NettyEmbeddedServerResource
O
- onApplicationEvent(StartupEvent) - Method in class io.micronaut.crac.StartupCracRegistration
- ORDER - Static variable in class io.micronaut.crac.resources.NettyEmbeddedServerResource
-
The default order for this resource.
- OrderedCracResourceRegistrar - Class in io.micronaut.crac
-
Registers all defined Resources for Coordinated Restore at Checkpoint.
- OrderedCracResourceRegistrar(List<OrderedResource>, CracContextProvider) - Constructor for class io.micronaut.crac.OrderedCracResourceRegistrar
-
Collects together all available CRaC resources in the order specified.
- OrderedResource - Interface in io.micronaut.crac
-
A Coordinated Restore at Checkpoint Resource that may also be
Ordered
.
P
- PREFIX - Static variable in class io.micronaut.crac.CracConfigurationProperties
-
The prefix to use for CRaC configuration.
- PREFIX - Static variable in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
- provideContext() - Method in interface io.micronaut.crac.CracContextProvider
- provideContext() - Method in class io.micronaut.crac.GlobalCracContextProvider
R
- RedisCacheResource - Class in io.micronaut.crac.resources.redis
-
Destroys any RedisCache beans before checkpointing.
- RedisCacheResource(BeanContext, CracEventPublisher, RedisCache) - Constructor for class io.micronaut.crac.resources.redis.RedisCacheResource
- RedisNamedConfigResource - Class in io.micronaut.crac.resources.redis
-
Destroys Redis connection beans for a named configuration.
- RedisNamedConfigResource(BeanContext, CracEventPublisher, AbstractRedisConfiguration) - Constructor for class io.micronaut.crac.resources.redis.RedisNamedConfigResource
- RefreshEventResource - Class in io.micronaut.crac.resources
-
An OrderedResource that emits a RefreshEvent when a CRaC checkpoint is taken.
- RefreshEventResource(CracEventPublisher, ApplicationEventPublisher<RefreshEvent>) - Constructor for class io.micronaut.crac.resources.RefreshEventResource
- registerResources() - Method in interface io.micronaut.crac.CracResourceRegistrar
-
Registers Every CRaC resource.
- registerResources() - Method in class io.micronaut.crac.OrderedCracResourceRegistrar
-
For each known resource, register it with the CRaC context.
- resolve(DataSource, CracConfiguration) - Method in class io.micronaut.crac.resources.datasources.resolver.CompositeDataSourceResolver
- resolve(DataSource, CracConfiguration) - Method in interface io.micronaut.crac.resources.datasources.resolver.DataSourceResourceResolver
- resolve(DataSource, CracConfiguration) - Method in class io.micronaut.crac.resources.datasources.resolver.HikariDataSourceResolver
- resolve(DataSource, CracConfiguration) - Method in class io.micronaut.crac.resources.datasources.resolver.HikariDelegatingDataSourceResolver
- runAfterRestore() - Method in interface io.micronaut.crac.test.CheckpointSimulator
-
Simulates a restore.
- runAfterRestore() - Method in class io.micronaut.crac.test.DefaultCheckpointSimulator
- runBeforeCheckpoint() - Method in interface io.micronaut.crac.test.CheckpointSimulator
-
Simulates a checkpoint.
- runBeforeCheckpoint() - Method in class io.micronaut.crac.test.DefaultCheckpointSimulator
S
- setCacheEnabled(boolean) - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
-
Whether to destroy RedisCache beans prior to taking a checkpoint.
- setClientEnabled(boolean) - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
-
Whether to destroy RedisClient beans prior to taking a checkpoint.
- setConnectionEnabled(boolean) - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
-
Whether to destroy StatefulRedisConnection beans prior to taking a checkpoint.
- setDatasourcePauseTimeout(Duration) - Method in class io.micronaut.crac.CracConfigurationProperties
-
The timeout to wait for a datasource to pause before taking a checkpoint.
- setEnabled(boolean) - Method in class io.micronaut.crac.CracConfigurationProperties
-
Whether CRaC (Coordinated Restore at Checkpoint) support, even if we're on a supporting JDK, is enabled.
- setEnabled(boolean) - Method in class io.micronaut.crac.resources.redis.CracRedisConfigurationProperties
-
Whether CRaC (Coordinated Restore at Checkpoint) support for Redis, even if we're on a supporting JDK, is enabled.
- setRefreshBeans(boolean) - Method in class io.micronaut.crac.CracConfigurationProperties
-
Whether to trigger a refresh event to refresh all
Refreshable
beans prior to taking a checkpoint. - StartupCracRegistration - Class in io.micronaut.crac
-
Registers all defined Resources for Coordinated Restore at Checkpoint at
StartupEvent
. - StartupCracRegistration(CracResourceRegistrar) - Constructor for class io.micronaut.crac.StartupCracRegistration
U
- UnknownDataSourceResource - Class in io.micronaut.crac.resources.datasources
-
Handler for currently unhandled DataSources.
- UnknownDataSourceResource(DataSource) - Constructor for class io.micronaut.crac.resources.datasources.UnknownDataSourceResource
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form