Package org.apache.marmotta.ldcache.backend.infinispan.io

Examples of org.apache.marmotta.ldcache.backend.infinispan.io.ModelExternalizer


                        .addProperty("configurationXml", jgroupsXml)
                    .globalJmxStatistics()
                        .jmxDomain("org.apache.marmotta.ldcache")
                        .allowDuplicateDomains(true)
                    .serialization()
                        .addAdvancedExternalizer(new ModelExternalizer())
                        .addAdvancedExternalizer(new ValueExternalizer())
                    .build();
        } catch (IOException ex) {
            log.warn("error loading JGroups configuration from archive: {}", ex.getMessage());
            log.warn("some configuration options will not be available");

            globalConfiguration = new GlobalConfigurationBuilder()
                    .classLoader(LDCachingInfinispanBackend.class.getClassLoader())
                    .transport()
                        .defaultTransport()
                        .clusterName(clusterName)
                        .machineId(machineName)
                        .addProperty("configurationFile", "jgroups-ldcache.xml")
                    .globalJmxStatistics()
                        .jmxDomain("org.apache.marmotta.ldcache")
                        .allowDuplicateDomains(true)
                    .serialization()
                        .addAdvancedExternalizer(new ModelExternalizer())
                        .addAdvancedExternalizer(new ValueExternalizer())
                    .build();
        }

View Full Code Here

TOP

Related Classes of org.apache.marmotta.ldcache.backend.infinispan.io.ModelExternalizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.