Supported Types
MARZ supports the following field types. All fields must be declared volatile.
| Type | Example | Config Value |
|---|---|---|
boolean | private volatile boolean enabled = false; | true, false |
int | private volatile int maxRequests = 100; | 500 |
long | private volatile long timeoutMs = 30000; | 60000 |
double | private volatile double discountRate = 0.0; | 0.15 |
String | private volatile String welcomeMsg = "Hello"; | Welcome to MARZ! |