PrivatecachePrivateenvironmentsPrivatelastProtected ReadonlyloggerLogger instance for this service
Protected ReadonlynameService name for logging
Private ReadonlysdkGets the current service state.
ProtectedassertDisposes 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.
PrivateisCheck if cached data is still valid.
List all available environments. Uses cached data if available and valid.
ProtectedonImplementation-specific disposal logic. Called once during dispose().
ProtectedonImplementation-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.