|
| std::int32_t | envInt (const char *name, const std::int32_t fallback) |
| | Reads a base-10 int from the environment.
|
| |
| std::string | envString (const char *name, const std::string &fallback) |
| | Reads a string from the environment.
|
| |
| bool | envFlag (const char *name) |
| | Whether a variable is set and non-empty — the convention every SEQERON_* opt-in switch uses.
|
| |
| std::string | joinPath (const std::string &dir, const std::string &name) |
| | Joins a directory and a name with exactly one separator.
|
| |
| std::string | resolveAeronDir (const char *envName, const std::int32_t memberId) |
| | Resolves the co-located cluster member's Aeron directory, which an app shares to reach that node's queue, Replayer and (while it leads) IPC ingress.
|
| |
| std::string | resolveEgressEndpoint (const char *envName, const std::uint16_t defaultPort) |
| | Resolves a "host:port" cluster-egress endpoint.
|
| |
| bool | verboseLoggingEnabled () |
| |
| DynamicIdleStrategy | resolveIdleStrategy () |
| |
| std::string org::limitless::seqeron::util::resolveAeronDir |
( |
const char * |
envName, |
|
|
const std::int32_t |
memberId |
|
) |
| |
|
inline |
Resolves the co-located cluster member's Aeron directory, which an app shares to reach that node's queue, Replayer and (while it leads) IPC ingress.
The default is the member's own, under /dev/shm where the host has one, else under TMPDIR; the Java twin is PortLayout.aeronDir.
- Parameters
-
| envName | the per-binary override variable |
| memberId | the member whose directory is the default |