public abstract class AbstractMemoryCredentialStore extends Object implements WxCredentialStore
| Constructor and Description |
|---|
AbstractMemoryCredentialStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
lock()
多线程或者分布式时,防止多个同时设置token值,也同时用于防止tokenManage同时多次刷新
|
void |
unlock()
多线程或者分布式时,防止多个同时设置token值,也同时用于防止tokenManage同时多次刷新
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexpires, get, storepublic boolean lock()
lock in interface WxCredentialStorepublic void unlock()
unlock in interface WxCredentialStoreCopyright © 2018 Guangshan Technology, Inc.. All rights reserved.