Class MachineProperties.StateStorage
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage
- Enclosing class:
- MachineProperties
Configuration for machine state storage mechanisms.
This class configures how machine state (like allocated machine IDs) is persisted across application restarts.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration for local file system state storage. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new StateStorage configuration with default local storage. -
Method Summary
Modifier and TypeMethodDescriptiongetLocal()Gets the local storage configuration.voidSets the local storage configuration.
-
Constructor Details
-
StateStorage
public StateStorage()Constructs a new StateStorage configuration with default local storage.
-
-
Method Details
-
getLocal
Gets the local storage configuration.- Returns:
- the local storage configuration
-
setLocal
Sets the local storage configuration.- Parameters:
local- the local storage configuration to set
-