public abstract static class MixerGrpc.MixerImplBase extends Object implements io.grpc.BindableService
Mixer provides three core features: - *Precondition Checking*. Enables callers to verify a number of preconditions before responding to an incoming request from a service consumer. Preconditions can include whether the service consumer is properly authenticated, is on the service’s whitelist, passes ACL checks, and more. - *Quota Management*. Enables services to allocate and free quota on a number of dimensions, Quotas are used as a relatively simple resource management tool to provide some fairness between service consumers when contending for limited resources. Rate limits are examples of quotas. - *Telemetry Reporting*. Enables services to report logging and monitoring. In the future, it will also enable tracing and billing streams intended for both the service operator as well as for service consumers.
| Constructor and Description |
|---|
MixerImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
check(Check.CheckRequest request,
io.grpc.stub.StreamObserver<Check.CheckResponse> responseObserver)
Checks preconditions and allocate quota before performing an operation.
|
void |
report(Report.ReportRequest request,
io.grpc.stub.StreamObserver<Report.ReportResponse> responseObserver)
Reports telemetry, such as logs and metrics.
|
public void check(Check.CheckRequest request, io.grpc.stub.StreamObserver<Check.CheckResponse> responseObserver)
Checks preconditions and allocate quota before performing an operation. The preconditions enforced depend on the set of supplied attributes and the active configuration.
public void report(Report.ReportRequest request, io.grpc.stub.StreamObserver<Report.ReportResponse> responseObserver)
Reports telemetry, such as logs and metrics. The reported information depends on the set of supplied attributes and the active configuration.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2019 WSO2. All rights reserved.