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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="urn:infinispan:config:5.3 http://www.infinispan.org/schemas/infinispan-config-5.3.xsd" | |
| xmlns="urn:infinispan:config:5.3"> | |
| <!-- *************************** --> | |
| <!-- System-wide global settings --> | |
| <!-- *************************** --> | |
| <global> | |
| <shutdown hookBehavior="DEFAULT" /> |
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
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
| http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <localRepository/> | |
| <interactiveMode/> | |
| <usePluginRegistry/> | |
| <offline/> | |
| <proxies/> | |
| <profiles> |
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
| import org.infinispan.client.hotrod.RemoteCache; | |
| import org.infinispan.client.hotrod.RemoteCacheManager; | |
| import org.infinispan.client.hotrod.configuration.ConfigurationBuilder; | |
| public class Client { | |
| public static void main(String[] args) { | |
| ClassLoader tccl = Thread.currentThread().getContextClassLoader(); | |
| ConfigurationBuilder builder = new ConfigurationBuilder(); | |
| builder |
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
| <!-- Include early access of application server and other products --> | |
| <profile> | |
| <id>redhat-earlyaccess-repository</id> | |
| <repositories> | |
| <repository> | |
| <id>redhat-earlyaccess-repository-group</id> | |
| <name>Red Hat early access repository</name> | |
| <url>http://maven.repository.redhat.com/earlyaccess/all/</url> | |
| <layout>default</layout> | |
| <releases> |
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
| <dependencies> | |
| <dependency> | |
| <groupId>org.infinispan</groupId> | |
| <artifactId>infinispan-core</artifactId> | |
| <version>5.2.0.CR2</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.infinispan</groupId> |
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
| Manifest-Version: 1.0 | |
| Dependencies: org.infinispan:5.2 services |
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
| <?xml version="1.0"?> | |
| <plugin name="Infinispan" | |
| displayName="InfinispanPlugin" | |
| description="Supports management and monitoring of Infinispan" | |
| package="org.infinispan.rhq" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns="urn:xmlns:rhq-plugin" | |
| xmlns:c="urn:xmlns:rhq-configuration"> | |
| <depends plugin="JMX" useClasses="true"/> |
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
| <loaders> | |
| <stringKeyedJdbcStore xmlns="urn:infinispan:config:jdbc:5.2" | |
| fetchPersistentState="false" ignoreModifications="false" | |
| purgeOnStartup="false" | |
| connectionFactoryClass="org.infinispan.loaders.jdbc.connectionfactory.PooledConnectionFactory" | |
| connectionUrl="jdbc:h2:mem:infinispan_binary_based;DB_CLOSE_DELAY=-1" | |
| username="sa" driverClass="org.h2.Driver"> | |
| <stringKeyedTable dropOnExit="true" createOnStart="true" | |
| prefix="ISPN_STRING_TABLE"> | |
| <idColumn name="ID_COLUMN" type="VARCHAR(255)" /> |
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
| <loaders> | |
| <loader class="org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore" | |
| fetchPersistentState="false" ignoreModifications="false" | |
| purgeOnStartup="false"> | |
| <properties> | |
| <property name="stringsTableNamePrefix" value="ISPN_STRING_TABLE"/> | |
| <property name="idColumnName" value="ID_COLUMN"/> | |
| <property name="dataColumnName" value="DATA_COLUMN"/> | |
| <property name="timestampColumnName" value="TIMESTAMP_COLUMN"/> | |
| <property name="timestampColumnType" value="BIGINT"/> |
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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- See src/resources/configuration/ReadMe.txt for how the configuration assembly works --> | |
| <config default-supplement="default"> | |
| <extension-module>com.jboss.datagrid</extension-module> | |
| <subsystem xmlns="urn:jboss:domain:datagrid:1.0"> | |
| <hotrod-connector socket-binding="hotrod" cache-container="@@default-cache-container@@"> | |
| <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000" /> | |
| </hotrod-connector> | |
| <memcached-connector socket-binding="memcached" cache-container="@@default-cache-container@@" /> | |
| <rest-connector virtual-server="default-host" cache-container="@@default-cache-container@@" /> |