Package io.micronaut.microstream.conf
Class MicroStreamConfigurationProperties
java.lang.Object
io.micronaut.microstream.conf.MicroStreamConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,MicroStreamConfiguration
@ConfigurationProperties("microstream")
public class MicroStreamConfigurationProperties
extends Object
implements MicroStreamConfiguration
Configuration for MicroStream module.
MicroStreamConfiguration
and MicroStreamConfigurationProperties
exist to generate configuration reference documentation automatically.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Whether MicroStream module is enabled.static final String
ConfigurationPrefix. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) Whether MicroStream module is enabled.
-
Field Details
-
PREFIX
ConfigurationPrefix.- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDWhether MicroStream module is enabled.- See Also:
-
-
Constructor Details
-
MicroStreamConfigurationProperties
public MicroStreamConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Whether MicroStream module is enabled. Default Value: true- Parameters:
enabled
- Whether this module is enabled.
-