Last active
February 2, 2018 08:26
-
-
Save tristantarrant/4edd19cef9b8abb83d33a402401551ad to your computer and use it in GitHub Desktop.
Infinispan Wildcard Configuration Template (programmatic)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EmbeddedCacheManager cm = new DefaultCacheManager(); | |
| cm.defineConfiguration("basecache*", new ConfigurationBuilder() | |
| .expiration().lifespan(10) | |
| .build()); | |
| Cache<Object, Object> basecache1 = cm.getCache("basecache1"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment