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, wait
expires, get, store
public boolean lock()
lock
in interface WxCredentialStore
public void unlock()
unlock
in interface WxCredentialStore
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.