SimpleHybirdLock 方法 |
SimpleHybirdLock 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Dispose | ||
Enter |
获取锁,可以指定获取锁的超时时间,如果指定的时间没有获取锁,则返回False,反之,返回True To acquire a lock, you can specify the timeout period for acquiring a lock, return False if the specified time does not acquire a lock, and vice versa, return True | |
Equals | (继承自 Object。) | |
GetHashCode | (继承自 Object。) | |
GetType | (继承自 Object。) | |
Leave |
离开锁 Leave the lock | |
ToString | (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |