/external/grpc-grpc/src/csharp/Grpc.HealthCheck.Tests/ |
D | HealthServiceImplTest.cs | 38 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 …]
|
D | HealthClientServerTest.cs | 68 serviceImpl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ServiceIsRunning() 71 Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, response.Status); in ServiceIsRunning()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/health/ |
D | default_health_check_service.h | 43 enum ServingStatus { NOT_FOUND, SERVING, NOT_SERVING }; enum 53 ServingStatus status) = 0; 123 ServingStatus /*status*/) override {} in SendHealth() argument 165 ServingStatus status) override; 174 ServingStatus status); 203 ServingStatus pending_status_ = NOT_FOUND; // Guarded by mu_. 217 static bool EncodeResponse(ServingStatus status, ByteBuffer* response); 242 ServingStatus GetServingStatus(const std::string& service_name) const; 252 void SetServingStatus(ServingStatus status); 253 ServingStatus GetServingStatus() const { return status_; } in GetServingStatus() [all …]
|
D | default_health_check_service.cc | 56 const ServingStatus status = serving ? SERVING : NOT_SERVING; in SetServingStatus() 79 DefaultHealthCheckService::ServingStatus 127 ServingStatus status) { in SetServingStatus() 240 ServingStatus status, ByteBuffer* response) { in EncodeResponse() 311 ServingStatus serving_status = database_->GetServingStatus(service_name); in OnCallReceived() 410 SendHealth(std::shared_ptr<CallHandler> self, ServingStatus status) { in SendHealth() 423 SendHealthLocked(std::shared_ptr<CallHandler> self, ServingStatus status) { in SendHealthLocked()
|
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/ |
D | HealthServiceImpl.java | 23 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()
|
D | HealthStatusManager.java | 22 import io.grpc.health.v1.HealthCheckResponse.ServingStatus; 57 public void setStatus(String service, ServingStatus status) { in setStatus()
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/ |
D | HealthCheckResponse.java | 86 public enum ServingStatus enum in HealthCheckResponse 145 public static ServingStatus valueOf(int value) { in valueOf() 149 public static ServingStatus forNumber(int value) { in forNumber() 159 public static com.google.protobuf.Internal.EnumLiteMap<ServingStatus> 164 ServingStatus> internalValueMap = 165 new com.google.protobuf.Internal.EnumLiteMap<ServingStatus>() { 166 public ServingStatus findValueByNumber(int number) { 167 return ServingStatus.forNumber(number); 184 private static final ServingStatus[] VALUES = values(); 186 public static ServingStatus valueOf( in valueOf() [all …]
|
D | HealthCheckResponseOrBuilder.java | 17 io.grpc.health.v1.HealthCheckResponse.ServingStatus getStatus(); in getStatus()
|
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/ |
D | HealthServiceImpl.cs | 42 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()
|
D | Health.cs | 41 …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/ |
D | default_health_check_service.h | 51 enum ServingStatus { NOT_FOUND, SERVING, NOT_SERVING }; enum 52 ServingStatus GetServingStatus(const grpc::string& service_name) const;
|
D | default_health_check_service.cc | 88 DefaultHealthCheckService::ServingStatus serving_status = in Check() 137 DefaultHealthCheckService::ServingStatus
|
/external/grpc-grpc/test/cpp/end2end/ |
D | health_service_end2end_test.cc | 68 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/src/proto/grpc/health/v1/ |
D | health.proto | 33 enum ServingStatus { enum 38 ServingStatus status = 1;
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | HealthStatusManagerTest.java | 46 private final HealthCheckResponse.ServingStatus status 47 = HealthCheckResponse.ServingStatus.UNKNOWN;
|
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/health/v1/ |
D | health.proto | 33 enum ServingStatus { enum 39 ServingStatus status = 1;
|
/external/grpc-grpc-java/services/src/main/proto/grpc/health/v1/ |
D | health.proto | 33 enum ServingStatus { enum 39 ServingStatus status = 1;
|
/external/grpc-grpc/doc/ |
D | health-checking.md | 36 enum ServingStatus { 41 ServingStatus status = 1;
|
/external/grpc-grpc/src/ruby/spec/pb/health/ |
D | checker_spec.rb | 69 ServingStatus = Grpc::Health::V1::HealthCheckResponse::ServingStatus constant
|