public class MemoryCacheableAppTokenRepository<T extends AppToken<A,V>,A,V> extends Object implements CacheableTokenRepository<T,A,V>
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConcurrentMap<A,Object> |
cacheTokens |
protected TokenFactory<T,A,V> |
tokenFactory |
| 构造器和说明 |
|---|
MemoryCacheableAppTokenRepository(TokenFactory<T,A,V> tokenFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletionStage<Void> |
clearAsync() |
CompletionStage<T> |
getTokenAsync(A appId) |
CompletionStage<List<T>> |
getTokensAsync() |
CompletionStage<Void> |
removeAsync(A appId) |
CompletionStage<Void> |
removeAsync(T token) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getTokens, remove, removegetTokenprotected final ConcurrentMap<A,Object> cacheTokens
public MemoryCacheableAppTokenRepository(@Nonnull
TokenFactory<T,A,V> tokenFactory)
@Nonnull public CompletionStage<List<T>> getTokensAsync()
getTokensAsync 在接口中 CacheableTokenRepository<T extends AppToken<A,V>,A,V>@Nonnull public CompletionStage<Void> clearAsync()
clearAsync 在接口中 CacheableTokenRepository<T extends AppToken<A,V>,A,V>@Nonnull public CompletionStage<Void> removeAsync(@Nonnull T token)
removeAsync 在接口中 CacheableTokenRepository<T extends AppToken<A,V>,A,V>@Nonnull public CompletionStage<Void> removeAsync(@Nonnull A appId)
removeAsync 在接口中 CacheableTokenRepository<T extends AppToken<A,V>,A,V>@Nonnull public CompletionStage<T> getTokenAsync(@Nonnull A appId)
getTokenAsync 在接口中 TokenRepository<T extends AppToken<A,V>,A,V>Copyright © 2024. All rights reserved.