public class RefreshTokenRetentionPolicy extends Object implements RetentionPolicy
Created by Jeff Gaynor
on 3/26/14 at 3:39 PM
Constructor and Description |
---|
RefreshTokenRetentionPolicy(RefreshTokenStore rts) |
Modifier and Type | Method and Description |
---|---|
boolean |
applies()
Always true for every element in the cache.
|
Map |
getMap()
The cache to which this policy is applied.
|
boolean |
retain(Object key,
Object value) |
public RefreshTokenRetentionPolicy(RefreshTokenStore rts)
public boolean applies()
applies
in interface RetentionPolicy
public boolean retain(Object key, Object value)
retain
in interface RetentionPolicy
public Map getMap()
RetentionPolicy
getMap
in interface RetentionPolicy
Copyright © 2019. All Rights Reserved.