Class Partitions

Namespace: ArmoniK.Api.gRPC.V1.Partitions
Assembly: ArmoniK.Api.Client.dll, ArmoniK.Api.Core.dll

The PartitionsService provides methods to manage partitions.

public static class Partitions

Inheritance

objectPartitions

Inherited Members

object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Properties

Descriptor

Service descriptor

public static ServiceDescriptor Descriptor { get; }

Property Value

ServiceDescriptor

Descriptor

Service descriptor

public static ServiceDescriptor Descriptor { get; }

Property Value

ServiceDescriptor

Methods

BindService(PartitionsBase)

Creates service definition that can be registered with a server

public static ServerServiceDefinition BindService(Partitions.PartitionsBase serviceImpl)

Parameters

serviceImpl Partitions.PartitionsBase

An object implementing the server-side handling logic.

Returns

ServerServiceDefinition

BindService(ServiceBinderBase, PartitionsBase)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

public static void BindService(ServiceBinderBase serviceBinder, Partitions.PartitionsBase serviceImpl)

Parameters

serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl Partitions.PartitionsBase

An object implementing the server-side handling logic.