Private
cachePrivate
environmentsPrivate
lastProtected
Readonly
loggerLogger instance for this service
Protected
Readonly
nameService name for logging
Private
Readonly
sdkGets the current service state.
Protected
assertDisposes the service and cleans up resources. Ensures disposal only happens once.
Get the default environment.
Get a specific environment by ID.
Initializes the service. Ensures initialization only happens once and tracks state.
Invalidate cache to force refresh on next fetch.
Private
isCheck if cached data is still valid.
List all available environments. Uses cached data if available and valid.
Protected
onImplementation-specific disposal logic. Called once during dispose().
Protected
onImplementation-specific initialization logic. Called once during initialize().
Refresh environments list from API. Forces a fresh fetch even if cache is valid.
Set cache expiry time in milliseconds.
Environment service implementation with caching.