Skip to content

LoadingCache的value不能是null #2

@cenxi

Description

@cenxi

LoadingCache的value如果是null的话,get()时会guava会抛异常,感觉可以用Optional对缓存的数据做包装StudentGuavaCache extends SuperBaseGuavaCache<Long,Optional>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions