V - Value typepublic interface RIdResolver<V>
| Modifier and Type | Method and Description |
|---|---|
V |
resolve(Class<?> cls,
RId annotation,
String idFieldName,
RedissonClient redisson)
RLiveObjectService instantiate the class and invokes this method to get
a value used as the value for the field with RId annotation.
|
V resolve(Class<?> cls, RId annotation, String idFieldName, RedissonClient redisson)
cls - the class of the LiveObject.annotation - the RId annotation used in the class.idFieldName - field idredisson - instanceCopyright © 2014–2019 The Redisson Project. All rights reserved.