Package org.redisson.liveobject.resolver
Class LongGenerator
- java.lang.Object
-
- org.redisson.liveobject.resolver.LongGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static LongGenerator
INSTANCE
-
Constructor Summary
Constructors Constructor Description LongGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
resolve(Class value, RId id, 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.
-
-
-
Field Detail
-
INSTANCE
public static final LongGenerator INSTANCE
-
-
Method Detail
-
resolve
public Long resolve(Class value, RId id, String idFieldName, RedissonClient redisson)
Description copied from interface:RIdResolver
RLiveObjectService instantiate the class and invokes this method to get a value used as the value for the field with RId annotation.
-
-