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

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


                    .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();
        }


        defaultConfiguration = new ConfigurationBuilder()
View Full Code Here

TOP

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

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.