Class UUIDGenerator

    • Constructor Detail

      • UUIDGenerator

        public UUIDGenerator()
    • Method Detail

      • resolve

        public String 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.
        Specified by:
        resolve in interface Resolver<Class<?>,​RId,​String>
        Specified by:
        resolve in interface RIdResolver<RId,​String>
        Parameters:
        value - the class of the LiveObject.
        id - the RId annotation used in the class.
        idFieldName - name of field
        redisson - instance
        Returns:
        resolved RId field value.