| GrpcEnvironment Methods |
The GrpcEnvironment type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| KillServersAsync |
Requests immediate shutdown of all servers created by the current process.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetCompletionQueueCount |
Sets the number of completion queues in the gRPC thread pool that polls for internal RPC events.
Can be only invoke before the GrpcEnviroment is started and cannot be changed afterwards.
Setting the number of completions queues is an advanced setting and you should only use it if you know what you are doing.
Most users should rely on the default value provided by gRPC library.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
| |
| SetLogger |
Sets the application-wide logger that should be used by gRPC.
| |
| SetThreadPoolSize |
Sets the number of threads in the gRPC thread pool that polls for internal RPC events.
Can be only invoke before the GrpcEnviroment is started and cannot be changed afterwards.
Setting thread pool size is an advanced setting and you should only use it if you know what you are doing.
Most users should rely on the default value provided by gRPC library.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
| |
| ShutdownChannelsAsync |
Requests shutdown of all channels created by the current process.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |