alibaba / alibaba/jetcache

能在cache接口里边加一组支持泛型返回的接口方法吗?

Open
#613 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

最近在做jetcache与redisson的整合,redisson的序列化方式稍微有所不同,在使用TYPED_JACKSON序列化方式时候,如果没有泛型支持,没办法做类型转换,不太方便,无奈只能fork了一份代码,将底层代码改了一下支持了,原来默认的JACKSON序列化方式里边带了@class的属性,一个不太方便看,另外一个就是网络传输量稍大,不知道作者是否愿意扩展一下,或者我把更改做个push request,你看一下是不是合适

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the cache interface and reviewing the forked changes mentioned in the issue. Compare the existing JACKSON behavior with Redisson's TYPED_JACKSON serialization and clarify the proposed generic-return API; done should mean the integration supports type conversion without requiring the default @class metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.