Skip to content

Instantly share code, notes, and snippets.

@tristantarrant
Last active February 2, 2018 08:26
Show Gist options
  • Select an option

  • Save tristantarrant/4edd19cef9b8abb83d33a402401551ad to your computer and use it in GitHub Desktop.

Select an option

Save tristantarrant/4edd19cef9b8abb83d33a402401551ad to your computer and use it in GitHub Desktop.
Infinispan Wildcard Configuration Template (programmatic)
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