aboutsummaryrefslogtreecommitdiff
path: root/plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs')
-rw-r--r--plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs b/plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs
index a832b41..3d66c9c 100644
--- a/plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs
+++ b/plugins/VNLib.Data.Caching.Providers.VNCache/src/VNCacheClient.cs
@@ -161,10 +161,10 @@ namespace VNLib.Data.Caching.Providers.VNCache
public bool IsConnected => _client.IsConnected;
///<inheritdoc/>
- public Task AddOrUpdateAsync<T>(string key, string? newKey, T value, CancellationToken cancellation)
- {
- return _client.AddOrUpdateAsync(key, newKey, value, cancellation);
- }
+ public ICacheObjectDeserializer DefaultDeserializer => _client.DefaultDeserializer;
+
+ ///<inheritdoc/>
+ public ICacheObjectSerializer DefaultSerializer => _client.DefaultSerializer;
///<inheritdoc/>
public Task AddOrUpdateAsync<T>(string key, string? newKey, T value, ICacheObjectSerializer serialzer, CancellationToken cancellation)
@@ -185,12 +185,6 @@ namespace VNLib.Data.Caching.Providers.VNCache
}
///<inheritdoc/>
- public Task<T?> GetAsync<T>(string key, CancellationToken cancellation)
- {
- return _client.GetAsync<T>(key, cancellation);
- }
-
- ///<inheritdoc/>
public Task<T?> GetAsync<T>(string key, ICacheObjectDeserializer deserializer, CancellationToken cancellation)
{
return _client.GetAsync<T>(key, deserializer, cancellation);