Property | Type | Description | |
---|---|---|---|
AddRef | |||
GetCompletionQueueCountOrDefault | int | ||
GetCoreVersionString | string | ||
GetRefCount | int | ||
GetThreadPoolSizeOrDefault | int | ||
GrpcEnvironment | System | ||
GrpcNativeInit | void | ||
GrpcNativeShutdown | void | ||
PickCompletionQueue | |||
RegisterChannel | void | ||
RegisterServer | void | ||
ReleaseAsync | Task | ||
ShutdownAsync | Task | ||
UnregisterChannel | void | ||
UnregisterServer | void |
Method | Description | |
---|---|---|
KillServersAsync ( ) : Task |
Requests immediate shutdown of all servers created by the current process.
|
|
SetCompletionQueueCount ( int completionQueueCount ) : void |
Sets the number of completion queues in the gRPC thread pool that polls for internal RPC events. Can be only invoke before the
|
|
SetLogger ( ILogger customLogger ) : void |
Sets the application-wide logger that should be used by gRPC.
|
|
SetThreadPoolSize ( int threadCount ) : void |
Sets the number of threads in the gRPC thread pool that polls for internal RPC events. Can be only invoke before the
|
|
ShutdownChannelsAsync ( ) : Task |
Requests shutdown of all channels created by the current process.
|
Method | Description | |
---|---|---|
AddRef ( ) : |
Returns a reference-counted instance of initialized gRPC environment. Subsequent invocations return the same instance unless reference count has dropped to zero previously.
|
|
GetCompletionQueueCountOrDefault ( ) : int | ||
GetCoreVersionString ( ) : string |
Gets version of gRPC C core.
|
|
GetRefCount ( ) : int | ||
GetThreadPoolSizeOrDefault ( ) : int | ||
GrpcEnvironment ( ) : System |
Creates gRPC environment.
|
|
GrpcNativeInit ( ) : void | ||
GrpcNativeShutdown ( ) : void | ||
PickCompletionQueue ( ) : |
Picks a completion queue in a round-robin fashion. Shouldn't be invoked on a per-call basis (used at per-channel basis).
|
|
RegisterChannel ( Grpc.Core.Channel channel ) : void | ||
RegisterServer ( Grpc.Core.Server server ) : void | ||
ReleaseAsync ( ) : Task |
Decrements the reference count for currently active environment and asynchronously shuts down the gRPC environment if reference count drops to zero.
|
|
ShutdownAsync ( ) : Task |
Shuts down this environment.
|
|
UnregisterChannel ( Grpc.Core.Channel channel ) : void | ||
UnregisterServer ( Grpc.Core.Server server ) : void |
public static SetCompletionQueueCount ( int completionQueueCount ) : void | ||
completionQueueCount | int | |
return | void |
public static SetLogger ( ILogger customLogger ) : void | ||
customLogger | ILogger | |
return | void |
public static SetThreadPoolSize ( int threadCount ) : void | ||
threadCount | int | |
return | void |
public static ShutdownChannelsAsync ( ) : Task | ||
return | Task |