public class DmtpRedisActor : IDmtpRedisActor,
ICacheAsync<string, byte[]>, IActor
Public Class DmtpRedisActor
Implements IDmtpRedisActor, ICacheAsync(Of String, Byte()),
IActor
type DmtpRedisActor =
class
interface IDmtpRedisActor
interface ICacheAsync<string, byte[]>
interface IActor
end
DmtpRedisActor | 初始化DmtpRedisActor类的新实例。 |
AddAsyncTValue | 添加一个缓存项到缓存中,如果键已经存在,则不进行任何操作。 该方法用于异步地添加缓存项。 |
AddCacheAsync | 添加缓存。当缓存存在时,不会添加成功。 |
ClearCacheAsync | 清空所有缓存 |
ContainsCacheAsync | 异步判断指定键的缓存是否存在且在生命周期内。 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetAsyncTValue | 异步获取缓存的键值对。 |
GetCacheAsync | 异步获取指定键的缓存条目。 |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
InputReceivedData | 处理收到的消息 |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
RemoveCacheAsync | 异步移除缓存项。 |
SetAsyncTValue | 设置缓存值 设置缓存,不管缓存存不存在,都会添加。 |
SetCacheAsync | 设置缓存,不管缓存存不存在,都会添加。 |
SetProtocolFlags | 设置处理协议标识的起始标识。 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |