{"id":42146,"date":"2015-08-07T10:00:42","date_gmt":"2015-08-07T07:00:42","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=42146"},"modified":"2015-08-04T10:49:59","modified_gmt":"2015-08-04T07:49:59","slug":"random-jcache-stuff-multiple-providers-and-jmx-beans","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html","title":{"rendered":"Random JCache stuff: multiple Providers and JMX beans"},"content":{"rendered":"<p><a href=\"https:\/\/jcp.org\/en\/jsr\/detail?id=107\" target=\"_blank\">JCache (JSR 107)<\/a> is the Java standard for Caching\u2026 enough said. No more introductory stuff.<\/p>\n<p>This is a quick fire post which talks about<\/p>\n<ul>\n<li>Multiple JCache provider configurations, and<\/li>\n<li>Feature: JCache stats via JMX Mbeans<\/li>\n<\/ul>\n<h2>Managing multiple JCache providers<\/h2>\n<p>In case you are dealing with a single JCache provider, <em>javax.jcache.Caching.getCachingProvider()<\/em> returns an instance of the one and only <em>CachingProvider <\/em>on your classpath.<\/p>\n<p>If you have multiple JCache implementations on your application class path, an attempt at using the above snippet to bootstrap your JCache provider will greet you with the following exception (which is surprisingly friendly !)<\/p>\n<pre class=\"brush:bash\">javax.cache.CacheException: Multiple CachingProviders have been configured when only a single CachingProvider is expected<\/pre>\n<h4>Overloading to the rescue!<\/h4>\n<p>There are <em>overloaded <\/em>versions of the <strong>getCachingProvider <\/strong>method, one of which allows you to specify the fully qualified class name of a specific JCache provider implementation. The exact class name would be provided as a part of your JCache vendor documentation e.g. <em>com.tangosol.coherence.jcache.CoherenceBasedCachingProvider<\/em> and <em>com.hazelcast.cache.HazelcastCachingProvider<\/em> are the provider classes for Oracle Coherence and Hazelcast respectively.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>This would work just fine:<\/p>\n<pre class=\"brush:bash\">CachingProvider coherenceJCacheProvider = Caching.getCachingProvider(\u201ccom.tangosol.coherence.jcache.CoherenceBasedCachingProvider\u201d).getCacheManager()<\/pre>\n<p>You can also grab the same from the <em>META-INF\/services\/javax.cache.spi.CachingProvider<\/em> of the JCache provider JAR file.<\/p>\n<p><figure id=\"attachment_42251\" aria-describedby=\"caption-attachment-42251\" style=\"width: 279px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-provider-spi-config1.jpg\"><img decoding=\"async\" class=\"size-full wp-image-42251\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-provider-spi-config1.jpg\" alt=\"JCache Provider SPI Configuration\" width=\"279\" height=\"94\" \/><\/a><figcaption id=\"caption-attachment-42251\" class=\"wp-caption-text\">JCache Provider SPI Configuration<\/figcaption><\/figure><\/p>\n<h2>JMX statistics<\/h2>\n<p>JCache offers configuration and run time performance statistic for free! This is driven by provider specific implementations.<\/p>\n<ul>\n<li><strong>javax.cache.management.CacheMXBean<\/strong> \u2013 make sure you enable this by calling <em>setManagementEnabled(true)<\/em> on the JCache <em>MutableConfiguration <\/em> object<\/li>\n<li><strong>javax.cache.management.CacheStatisticsMXBean<\/strong> \u2013 \u2013 make sure you enable this by calling <em>setStatisticsEnabled(true)<\/em> on the JCache <em>MutableConfiguration <\/em> object<\/li>\n<\/ul>\n<h4>Example snippet<\/h4>\n<pre class=\"brush:bash\">MutableConfiguration config = new MutableConfiguration().setManagementEnabled(true).setStatisticsEnabled(true);<\/pre>\n<h2>Introspect the Mbeans from JConsole or any equivalent client<\/h2>\n<p><figure id=\"attachment_42252\" aria-describedby=\"caption-attachment-42252\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-config-stats.jpg\"><img decoding=\"async\" class=\"size-large wp-image-42252\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-config-stats-1024x292.jpg\" alt=\"JCache Configuration stats\" width=\"620\" height=\"177\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-config-stats-1024x292.jpg 1024w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-config-stats-300x86.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-config-stats.jpg 1353w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><figcaption id=\"caption-attachment-42252\" class=\"wp-caption-text\">JCache Configuration stats<\/figcaption><\/figure><br \/>\n&nbsp;<br \/>\n<figure id=\"attachment_42253\" aria-describedby=\"caption-attachment-42253\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-runtime-stats.jpg\"><img decoding=\"async\" class=\"size-large wp-image-42253\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-runtime-stats-1024x320.jpg\" alt=\"JCache runtime performance stats\" width=\"620\" height=\"194\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-runtime-stats-1024x320.jpg 1024w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-runtime-stats-300x94.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2015\/07\/jcache-runtime-stats.jpg 1353w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><figcaption id=\"caption-attachment-42253\" class=\"wp-caption-text\">JCache runtime performance stats<\/figcaption><\/figure><\/p>\n<p>Nice ha ?<\/p>\n<p>Cheers! :-)<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/abhirockzz.wordpress.com\/2015\/07\/28\/random-jcache-stuff-multiple-providers-and-jmx-beans\/\">Random JCache stuff: multiple Providers and JMX beans<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\/\">JCG partner<\/a> Abhishek Gupta at the <a href=\"http:\/\/abhirockzz.wordpress.com\/\">Object Oriented.. <\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache provider configurations, and Feature: JCache stats via JMX Mbeans Managing multiple JCache providers In case you are dealing with a single JCache provider, javax.jcache.Caching.getCachingProvider() returns an instance of the &hellip;<\/p>\n","protected":false},"author":545,"featured_media":112,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[655,152],"class_list":["post-42146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-jcache","tag-jmx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"http:\/\/www.facebook.com\/100000586869380\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-07T07:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abhishek Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/abhi_tweeter\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\"},\"author\":{\"name\":\"Abhishek Gupta\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/ef37bd58f3ae6f6504852858ad1d7cd7\"},\"headline\":\"Random JCache stuff: multiple Providers and JMX beans\",\"datePublished\":\"2015-08-07T07:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\"},\"wordCount\":321,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"keywords\":[\"JCache\",\"JMX\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\",\"name\":\"Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2015-08-07T07:00:42+00:00\",\"description\":\"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2015\\\/08\\\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Random JCache stuff: multiple Providers and JMX beans\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/ef37bd58f3ae6f6504852858ad1d7cd7\",\"name\":\"Abhishek Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g\",\"caption\":\"Abhishek Gupta\"},\"sameAs\":[\"http:\\\/\\\/abhirockzz.wordpress.com\\\/\",\"http:\\\/\\\/www.facebook.com\\\/100000586869380\",\"http:\\\/\\\/in.linkedin.com\\\/pub\\\/abhishek-gupta\\\/27\\\/331\\\/866\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/abhi_tweeter\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/abhishek-gupta\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks","description":"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html","og_locale":"en_US","og_type":"article","og_title":"Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks","og_description":"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache","og_url":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"http:\/\/www.facebook.com\/100000586869380","article_published_time":"2015-08-07T07:00:42+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"image\/jpeg"}],"author":"Abhishek Gupta","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/abhi_tweeter","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Abhishek Gupta","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html"},"author":{"name":"Abhishek Gupta","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/ef37bd58f3ae6f6504852858ad1d7cd7"},"headline":"Random JCache stuff: multiple Providers and JMX beans","datePublished":"2015-08-07T07:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html"},"wordCount":321,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","keywords":["JCache","JMX"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html","url":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html","name":"Random JCache stuff: multiple Providers and JMX beans - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2015-08-07T07:00:42+00:00","description":"JCache (JSR 107) is the Java standard for Caching\u2026 enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2015\/08\/random-jcache-stuff-multiple-providers-and-jmx-beans.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Random JCache stuff: multiple Providers and JMX beans"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/ef37bd58f3ae6f6504852858ad1d7cd7","name":"Abhishek Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f3fc8e83d92bec29f7cb54bba3d5043d138c479a66a4711483bc6b4d95ae37c?s=96&d=mm&r=g","caption":"Abhishek Gupta"},"sameAs":["http:\/\/abhirockzz.wordpress.com\/","http:\/\/www.facebook.com\/100000586869380","http:\/\/in.linkedin.com\/pub\/abhishek-gupta\/27\/331\/866","https:\/\/x.com\/https:\/\/twitter.com\/abhi_tweeter"],"url":"https:\/\/www.javacodegeeks.com\/author\/abhishek-gupta"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/42146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/545"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=42146"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/42146\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/112"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=42146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=42146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=42146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}