Home
last modified time | relevance | path

Searched refs:ServingStatus (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.HealthCheck.Tests/
DHealthServiceImplTest.cs38 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
39 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "")); in SetStatus()
41 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.NotServing); in SetStatus()
42 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.NotServing, GetStatusHelper(impl, "")); in SetStatus()
44 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Unknown); in SetStatus()
45 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Unknown, GetStatusHelper(impl, "")); in SetStatus()
47 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
48 …Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "grpc.test.… in SetStatus()
55 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ClearStatus()
56 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Unknown); in ClearStatus()
[all …]
DHealthClientServerTest.cs68 serviceImpl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ServiceIsRunning()
71 Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, response.Status); in ServiceIsRunning()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckResponse.java86 public enum ServingStatus enum in HealthCheckResponse
129 public static ServingStatus valueOf(int value) { in valueOf()
133 public static ServingStatus forNumber(int value) { in forNumber()
142 public static com.google.protobuf.Internal.EnumLiteMap<ServingStatus>
147 ServingStatus> internalValueMap =
148 new com.google.protobuf.Internal.EnumLiteMap<ServingStatus>() {
149 public ServingStatus findValueByNumber(int number) {
150 return ServingStatus.forNumber(number);
167 private static final ServingStatus[] VALUES = values();
169 public static ServingStatus valueOf( in valueOf()
[all …]
DHealthCheckResponseOrBuilder.java17 io.grpc.health.v1.HealthCheckResponse.ServingStatus getStatus(); in getStatus()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DHealthServiceImpl.java23 import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
36 private final Map<String, ServingStatus> statusMap
37 = new ConcurrentHashMap<String, ServingStatus>();
42 ServingStatus status = getStatus(request.getService()); in check()
53 void setStatus(String service, ServingStatus status) { in setStatus()
58 ServingStatus getStatus(String service) { in getStatus()
DHealthStatusManager.java22 import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
57 public void setStatus(String service, ServingStatus status) { in setStatus()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealthServiceImpl.cs42 private readonly Dictionary<string, HealthCheckResponse.Types.ServingStatus> statusMap =
43 new Dictionary<string, HealthCheckResponse.Types.ServingStatus>();
50 public void SetStatus(string service, HealthCheckResponse.Types.ServingStatus status) in SetStatus()
93 HealthCheckResponse.Types.ServingStatus status; in Check()
DHealth.cs41 …us" }, null, new[]{ typeof(global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) }, null) in HealthReflection()
213 private global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus status_ = 0;
215 public global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus Status {
297 … status_ = (global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) input.ReadEnum(); in MergeFrom()
308 public enum ServingStatus { enum in Grpc.Health.V1.HealthCheckResponse.Types
/external/grpc-grpc/src/cpp/server/health/
Ddefault_health_check_service.h51 enum ServingStatus { NOT_FOUND, SERVING, NOT_SERVING }; enum
52 ServingStatus GetServingStatus(const grpc::string& service_name) const;
Ddefault_health_check_service.cc88 DefaultHealthCheckService::ServingStatus serving_status = in Check()
137 DefaultHealthCheckService::ServingStatus
/external/grpc-grpc/test/cpp/end2end/
Dhealth_service_end2end_test.cc68 HealthCheckResponse::ServingStatus status) { in SetStatus()
73 void SetAll(HealthCheckResponse::ServingStatus status) { in SetAll()
82 std::map<const grpc::string, HealthCheckResponse::ServingStatus> status_map_;
180 HealthCheckResponse::ServingStatus expected_serving_status) { in SendHealthCheckRpc()
/external/grpc-grpc-java/services/src/main/proto/grpc/health/v1/
Dhealth.proto29 enum ServingStatus { enum
34 ServingStatus status = 1;
/external/grpc-grpc/src/proto/grpc/health/v1/
Dhealth.proto33 enum ServingStatus { enum
38 ServingStatus status = 1;
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DHealthStatusManagerTest.java46 private final HealthCheckResponse.ServingStatus status
47 = HealthCheckResponse.ServingStatus.UNKNOWN;
/external/grpc-grpc/doc/
Dhealth-checking.md36 enum ServingStatus {
41 ServingStatus status = 1;
/external/grpc-grpc/src/ruby/spec/pb/health/
Dchecker_spec.rb69 ServingStatus = Grpc::Health::V1::HealthCheckResponse::ServingStatus constant