Skip to content

Instantly share code, notes, and snippets.

@tristantarrant
Created January 12, 2012 09:11
Show Gist options
  • Select an option

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

Select an option

Save tristantarrant/1599516 to your computer and use it in GitHub Desktop.
<distributed-cache name="default" start="EAGER"
mode="SYNC" virtual-nodes="1" owners="2" batching="false"
indexing="NONE" l1-lifespan="0" remote-timeout="30000">
<locking isolation="READ_COMMITTED"
acquire-timeout="30000" concurrency-level="1000"
striping="false" />
<transaction eager-locking="ALL" mode="FULL_XA" stop-timeout="60000"/>
<rehashing enabled="true" timeout="600000" />
<jdbc-store datasource="java:jboss/datasources/ExampleDS" fetch-state="false" passivation="false" preload="true" purge="false" shared="true">
<bucket-table prefix="ispn_bucket" batch-size="100" fetch-size="100">
<id-column name="id" type="VARCHAR"/>
<data-column name="datum" type="BINARY"/>
<timestamp-column name="version" type="BIGINT"/>
</bucket-table>
<entry-table prefix="ispn_entry" batch-size="100" fetch-size="100">
<id-column name="id" type="VARCHAR"/>
<data-column name="datum" type="BINARY"/>
<timestamp-column name="version" type="BIGINT"/>
</entry-table>
</jdbc-store>
</distributed-cache>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment