• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alibaba / jetcache / #405

16 Apr 2024 05:58AM UTC coverage: 0.0% (-88.9%) from 88.866%
#405

push

areyouok
add encoding to fix coverage report

0 of 5353 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/jetcache-anno-api/src/main/java/com/alicp/jetcache/anno/KeyConvertor.java
1
package com.alicp.jetcache.anno;
2

3
import java.util.function.Function;
4

5
/**
6
 * Created on 2016/12/12.
7
 *
8
 * A custom key convertor implements Function<Object, Object> is enough.
9
 * If a key convertor implements this interface, it can process byte[] and String, see AbstractExternalCache.
10
 *
11
 * @author huangli
12
 */
13
public interface KeyConvertor extends Function<Object, Object> {
14
    String NONE = "NONE";
15
    String FASTJSON = "FASTJSON";
16

17
    /**
18
     * @since 2.6.5
19
     */
20
    String JACKSON = "JACKSON";
21

22
    /**
23
     * @since 2.7
24
     */
25
    String FASTJSON2 = "FASTJSON2";
26

27
    Function<Object, Object> NONE_INSTANCE = k -> k;
×
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc