DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

Imcache : A new caching framework for Java

Yusuf Aytaş user avatar by
Yusuf Aytaş
·
Jan. 02, 14 · · News
Like (0)
Save
Tweet
769 Views

Join the DZone community and get the full member experience.

Join For Free

Imcache is a Java Caching Library. It supports various kinds of caching models that have been applied so far. Imcache intends to speed up applications by providing a means to manage cached data. It offers solutions ranging from small applications to large scale applications. Dependency for imcache is as follows.

<dependency>
  <groupId>com.cetsoft</groupId>
  <artifactId>imcache</artifactId>
  <version>0.0.8</version><!--Can be updated for later versions-->
</dependency>

Imcache supports heap and off-heap caching for the time being but it is going to support distributed caching in the near future. Let's have a look at imcache in action below.

void example(){
    Cache<Integer,Integer> cache = CacheBuilder.heapCache().
    cacheLoader(new CacheLoader<Integer, Integer>() {
        public Integer load(Integer key) {
            return null;
        }
    }).capacity(10000).build();
 
    cache.put(10,10);
    cache.get(10);
}

Open source ninjas are wanted to build the next generation of the imcache! Please, check out the current version on githup and if you are interested, please get in touch with me.

Cache (computing) Java (programming language) Framework

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Design Patterns for Microservices
  • What Is Kafka? Everything You Need to Know
  • Low Code and No Code: The Security Challenge
  • How to Submit a Post to DZone

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo