Class WorkerEnvironmentInfo

java.lang.Object
io.temporal.internal.worker.WorkerEnvironmentInfo

public final class WorkerEnvironmentInfo extends Object
Detects the runtime, hosting environment, and platform information reported in the first accepted worker heartbeat.
  • Method Details

    • detect

      public static io.temporal.api.worker.v1.EnvironmentInfo detect()
      Never throws: this runs during client creation, and telemetry must not break it. System property, environment, and filesystem access can all fail under a security manager, in which case whatever was collected before the failure is returned.