Skip to content

Instantly share code, notes, and snippets.

View krosenvold's full-sized avatar

Kristian Rosenvold krosenvold

  • Zenior AS
  • Oslo, Norway
View GitHub Profile
### Keybase proof
I hereby claim:
* I am krosenvold on github.
* I am krosenvold (https://keybase.io/krosenvold) on keybase.
* I have a public key whose fingerprint is 4706 3E8B A7A6 450E 4A52 E7AE 466C AED6 E074 7D50
To claim this, I am signing this object:
@krosenvold
krosenvold / gist:fa20521ad121a0cbb4c6ed6be91452e5
Created June 22, 2016 07:01
Concurrency problem with loadCache
import java.io.IOException;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import javax.cache.Cache;
import javax.cache.configuration.Factory;
import javax.cache.integration.CacheLoaderException;