public class RedissonExpirationTokenRepository<T extends ExpirationAppToken<A,V>,A,V> extends RedissonCacheableAppTokenRepository<T,A,V> implements ExpirationTokenRepository<T,A,V>
client, codec, namespace, tokenFactory| 构造器和说明 |
|---|
RedissonExpirationTokenRepository(org.redisson.api.RedissonClient client,
String namespace,
org.redisson.client.codec.Codec codec,
TokenFactory<T,A,V> tokenFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected CompletionStage<? extends T> |
putTokenAsync(org.redisson.api.RMapCache<A,T> map,
T token) |
CompletionStage<T> |
refreshAsync(T token) |
CompletionStage<Void> |
removeExpiredTokenAsync() |
clearAsync, createToken, getMapCache, getTokenAsync, getTokensAsync, removeAsync, removeAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpiredTokens, getExpiredTokensAsync, removeExpiredTokengetTokenAsync, getTokenAsync, refreshclear, clearAsync, getTokens, getTokensAsync, remove, remove, removeAsync, removeAsyncgetTokenpublic RedissonExpirationTokenRepository(@Nonnull
org.redisson.api.RedissonClient client,
@Nonnull
String namespace,
org.redisson.client.codec.Codec codec,
@Nonnull
TokenFactory<T,A,V> tokenFactory)
@Nonnull public CompletionStage<Void> removeExpiredTokenAsync()
removeExpiredTokenAsync 在接口中 ExpirationTokenRepository<T extends ExpirationAppToken<A,V>,A,V>@Nonnull public CompletionStage<T> refreshAsync(@Nonnull T token)
refreshAsync 在接口中 RefreshableTokenRepository<T extends ExpirationAppToken<A,V>,A,V>protected CompletionStage<? extends T> putTokenAsync(@Nonnull org.redisson.api.RMapCache<A,T> map, @Nonnull T token)
putTokenAsync 在类中 RedissonCacheableAppTokenRepository<T extends ExpirationAppToken<A,V>,A,V>Copyright © 2024. All rights reserved.