• 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-core/src/main/java/com/alicp/jetcache/embedded/EmbeddedCacheBuilder.java
1
package com.alicp.jetcache.embedded;
2

3
import com.alicp.jetcache.AbstractCacheBuilder;
4

5
/**
6
 * Created on 16/9/7.
7
 *
8
 * @author huangli
9
 */
10
public class EmbeddedCacheBuilder<T extends EmbeddedCacheBuilder<T>> extends AbstractCacheBuilder<T> {
11

12
    public EmbeddedCacheBuilder(){
×
13
    }
×
14

15
    public static class EmbeddedCacheBuilderImpl extends EmbeddedCacheBuilder<EmbeddedCacheBuilderImpl> {
×
16
    }
17

18
    public static EmbeddedCacheBuilderImpl createEmbeddedCacheBuilder(){
19
        return new EmbeddedCacheBuilderImpl();
×
20
    }
21

22
    @Override
23
    public EmbeddedCacheConfig getConfig() {
24
        if (config == null) {
×
25
            config = new EmbeddedCacheConfig();
×
26
        }
27
        return (EmbeddedCacheConfig) config;
×
28
    }
29

30
    public T limit(int limit){
31
        getConfig().setLimit(limit);
×
32
        return self();
×
33
    }
34

35
    public void setLimit(int limit){
36
        getConfig().setLimit(limit);
×
37
    }
×
38

39
}
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