Class KeyValueStore.KeyValueStoreClient
Inheritance
KeyValueStore.KeyValueStoreClient
Assembly: Libplanet.Store.Remote.dll
Syntax
public class KeyValueStoreClient : Grpc.Core.ClientBase<KeyValueStore.KeyValueStoreClient>
Constructors
|
Improve this Doc
View Source
KeyValueStoreClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected KeyValueStoreClient()
|
Improve this Doc
View Source
KeyValueStoreClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected KeyValueStoreClient(ClientBaseConfiguration configuration)
Parameters
Type |
Name |
Description |
ClientBaseConfiguration |
configuration |
The client configuration.
|
|
Improve this Doc
View Source
KeyValueStoreClient(Grpc.Core.CallInvoker)
Creates a new client for KeyValueStore that uses a custom CallInvoker
.
Declaration
public KeyValueStoreClient(Grpc.Core.CallInvoker callInvoker)
Parameters
Type |
Name |
Description |
Grpc.Core.CallInvoker |
callInvoker |
The callInvoker to use to make remote calls.
|
|
Improve this Doc
View Source
KeyValueStoreClient(Grpc.Core.ChannelBase)
Creates a new client for KeyValueStore
Declaration
public KeyValueStoreClient(Grpc.Core.ChannelBase channel)
Parameters
Type |
Name |
Description |
Grpc.Core.ChannelBase |
channel |
The channel to use to make remote calls.
|
Methods
|
Improve this Doc
View Source
DeleteValue(DeleteValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual Google.Protobuf.WellKnownTypes.Empty DeleteValue(DeleteValueRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
Type |
Description |
Google.Protobuf.WellKnownTypes.Empty |
|
|
Improve this Doc
View Source
Declaration
public virtual Google.Protobuf.WellKnownTypes.Empty DeleteValue(DeleteValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type |
Description |
Google.Protobuf.WellKnownTypes.Empty |
|
|
Improve this Doc
View Source
DeleteValueAsync(DeleteValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> DeleteValueAsync(DeleteValueRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
Type |
Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> |
|
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> DeleteValueAsync(DeleteValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type |
Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> |
|
|
Improve this Doc
View Source
DeleteValues(DeleteValuesRequest, Grpc.Core.CallOptions)
Declaration
public virtual Google.Protobuf.WellKnownTypes.Empty DeleteValues(DeleteValuesRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
Type |
Description |
Google.Protobuf.WellKnownTypes.Empty |
|
|
Improve this Doc
View Source
Declaration
public virtual Google.Protobuf.WellKnownTypes.Empty DeleteValues(DeleteValuesRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type |
Description |
Google.Protobuf.WellKnownTypes.Empty |
|
|
Improve this Doc
View Source
DeleteValuesAsync(DeleteValuesRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> DeleteValuesAsync(DeleteValuesRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
Type |
Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> |
|
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> DeleteValuesAsync(DeleteValuesRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Type |
Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty> |
|
|
Improve this Doc
View Source
ExistsKey(ExistsKeyRequest, Grpc.Core.CallOptions)
Declaration
public virtual ExistsKeyResponse ExistsKey(ExistsKeyRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual ExistsKeyResponse ExistsKey(ExistsKeyRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ExistsKeyAsync(ExistsKeyRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<ExistsKeyResponse> ExistsKeyAsync(ExistsKeyRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<ExistsKeyResponse> ExistsKeyAsync(ExistsKeyRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
GetValue(GetValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual KeyValueStoreValue GetValue(GetValueRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
GetValueRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual KeyValueStoreValue GetValue(GetValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
GetValueAsync(GetValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<KeyValueStoreValue> GetValueAsync(GetValueRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
GetValueRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<KeyValueStoreValue> GetValueAsync(GetValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ListKeys(ListKeysRequest, Grpc.Core.CallOptions)
Declaration
public virtual ListKeysResponse ListKeys(ListKeysRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
ListKeysRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual ListKeysResponse ListKeys(ListKeysRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
ListKeysAsync(ListKeysRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<ListKeysResponse> ListKeysAsync(ListKeysRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
ListKeysRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<ListKeysResponse> ListKeysAsync(ListKeysRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override KeyValueStore.KeyValueStoreClient NewInstance(ClientBaseConfiguration configuration)
Parameters
Type |
Name |
Description |
ClientBaseConfiguration |
configuration |
|
Returns
|
Improve this Doc
View Source
SetValue(SetValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual KeyValueStoreValue SetValue(SetValueRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
SetValueRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual KeyValueStoreValue SetValue(SetValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
SetValueAsync(SetValueRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<KeyValueStoreValue> SetValueAsync(SetValueRequest request, Grpc.Core.CallOptions options)
Parameters
Type |
Name |
Description |
SetValueRequest |
request |
|
Grpc.Core.CallOptions |
options |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<KeyValueStoreValue> SetValueAsync(SetValueRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
SetValues(SetValuesRequest, Grpc.Core.CallOptions)
Declaration
public virtual SetValuesResponse SetValues(SetValuesRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual SetValuesResponse SetValues(SetValuesRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
|
Improve this Doc
View Source
SetValuesAsync(SetValuesRequest, Grpc.Core.CallOptions)
Declaration
public virtual Grpc.Core.AsyncUnaryCall<SetValuesResponse> SetValuesAsync(SetValuesRequest request, Grpc.Core.CallOptions options)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual Grpc.Core.AsyncUnaryCall<SetValuesResponse> SetValuesAsync(SetValuesRequest request, Grpc.Core.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns