public class RegularExpireStrategy extends Object implements ExpireStrategy
| Constructor and Description |
|---|
RegularExpireStrategy(com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<Long,TokenCacheNode> localCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
startClearTaskRegularly()
clean expired token regularly.
|
public RegularExpireStrategy(com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<Long,TokenCacheNode> localCache)
public void startClearTaskRegularly()
ExpireStrategystartClearTaskRegularly in interface ExpireStrategyCopyright © 2021 Alibaba Group. All rights reserved.