Interface WorkerHostInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerHostInfo,WorkerHostInfo.Builder
@Generated(value="protoc",
comments="annotations:WorkerHostInfoOrBuilder.java.pb.meta")
public interface WorkerHostInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatSystem used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all cores on the host pegged.floatSystem used memory as a float in the range [0.0, 1.0] where 1.0 is defined as all available memory on the host is used.Worker host identifier.com.google.protobuf.ByteStringWorker host identifier.Worker process identifier.com.google.protobuf.ByteStringWorker process identifier.Worker grouping identifier.com.google.protobuf.ByteStringWorker grouping identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHostName
-
getHostNameBytes
com.google.protobuf.ByteString getHostNameBytes()Worker host identifier.
string host_name = 1;- Returns:
- The bytes for hostName.
-
getWorkerGroupingKey
String getWorkerGroupingKey()Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 5;- Returns:
- The workerGroupingKey.
-
getWorkerGroupingKeyBytes
com.google.protobuf.ByteString getWorkerGroupingKeyBytes()Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"string worker_grouping_key = 5;- Returns:
- The bytes for workerGroupingKey.
-
getProcessId
String getProcessId()Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 2;- Returns:
- The processId.
-
getProcessIdBytes
com.google.protobuf.ByteString getProcessIdBytes()Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
string process_id = 2;- Returns:
- The bytes for processId.
-
getCurrentHostCpuUsage
float getCurrentHostCpuUsage()System used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all cores on the host pegged.
float current_host_cpu_usage = 3;- Returns:
- The currentHostCpuUsage.
-
getCurrentHostMemUsage
float getCurrentHostMemUsage()System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as all available memory on the host is used.
float current_host_mem_usage = 4;- Returns:
- The currentHostMemUsage.
-