Advertisement
Guest User

Untitled

a guest
Oct 31st, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.2">
  3.  
  4. <locking
  5. isolationLevel="REPEATABLE_READ"
  6. lockParentForChildInsertRemove="false"
  7. lockAcquisitionTimeout="20000"
  8. nodeLockingScheme="mvcc"
  9. writeSkewCheck="false"
  10. useLockStriping="false"
  11. concurrencyLevel="500"/>
  12.  
  13.  
  14. <loaders passivation="false" shared="false">
  15. <loader class="com.dotmarketing.cache.H2CacheLoader" async="false" fetchPersistentState="false"
  16. ignoreModifications="false" purgeOnStartup="false">
  17. <properties>
  18. </properties>
  19.  
  20.  
  21. </loader>
  22. </loaders>
  23.  
  24. <!-- This element specifies that the cache is clustered. modes supported: replication (r) or invalidation (i).-->
  25. <clustering mode="i" clusterName="JBossCache-cluster">
  26. <sync replTimeout="20000"/>
  27. <!-- Defines whether to retrieve state on startup -->
  28. <stateRetrieval timeout="20000" fetchInMemoryState="false"/>
  29.  
  30. <!--
  31. Configures the JGroups channel. Looks up a JGroups config file on the classpath or filesystem. udp.xml
  32. ships with jgroups.jar and will be picked up by the class loader.
  33. <jgroupsConfig configFile="udp.xml">
  34. -->
  35. <jgroupsConfig>
  36. <TCP start_port="7800"
  37. loopback="true"
  38. recv_buf_size="20000000"
  39. send_buf_size="640000"
  40. discard_incompatible_packets="true"
  41. max_bundle_size="64000"
  42. max_bundle_timeout="30"
  43. use_incoming_packet_handler="true"
  44. enable_bundling="true"
  45. use_send_queues="false"
  46. sock_conn_timeout="300"
  47. skip_suspected_members="true"
  48.  
  49. use_concurrent_stack="true"
  50.  
  51. thread_pool.enabled="true"
  52. thread_pool.min_threads="1"
  53. thread_pool.max_threads="25"
  54. thread_pool.keep_alive_time="5000"
  55. thread_pool.queue_enabled="false"
  56. thread_pool.queue_max_size="100"
  57. thread_pool.rejection_policy="run"
  58.  
  59. oob_thread_pool.enabled="true"
  60. oob_thread_pool.min_threads="1"
  61. oob_thread_pool.max_threads="8"
  62. oob_thread_pool.keep_alive_time="5000"
  63. oob_thread_pool.queue_enabled="false"
  64. oob_thread_pool.queue_max_size="100"
  65. oob_thread_pool.rejection_policy="run"/>
  66.  
  67. <TCPPING timeout="3000"
  68. initial_hosts="${jgroups.tcpping.initial_hosts:10.0.1.110[7800],10.0.1.122[7800]}"
  69. port_range="1"
  70. num_initial_members="3"/>
  71. <MERGE2 max_interval="100000"
  72. min_interval="20000"/>
  73. <FD_SOCK/>
  74. <FD timeout="10000" max_tries="5" shun="true"/>
  75. <VERIFY_SUSPECT timeout="1500" />
  76. <BARRIER />
  77. <pbcast.NAKACK
  78. use_mcast_xmit="false" gc_lag="0"
  79. retransmit_timeout="300,600,1200,2400,4800"
  80. discard_delivered_msgs="true"/>
  81. <UNICAST timeout="300,600,1200" />
  82. <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  83. max_bytes="400000"/>
  84. <VIEW_SYNC avg_send_interval="60000"/>
  85. <pbcast.GMS print_local_addr="true" join_timeout="3000"
  86. shun="true"
  87. view_bundling="true"/>
  88. <FC max_credits="2000000"
  89. min_threshold="0.10"/>
  90. <FRAG2 frag_size="60000" />
  91. <pbcast.STREAMING_STATE_TRANSFER/>
  92.  
  93. <!--<TCP start_port="7800" enable_bundling="true" />
  94. <TCPPING timeout="3000"
  95. initial_hosts="${jgroups.tcpping.initial_hosts:hosta[7800],hostb[7801]}"
  96. port_range="1"
  97. num_initial_members="2"/>
  98. <VERIFY_SUSPECT timeout="1500" />
  99. <pbcast.NAKACK
  100. use_mcast_xmit="false" gc_lag="0"
  101. retransmit_timeout="300,600,1200,2400,4800"
  102. discard_delivered_msgs="true"/>
  103. <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  104. max_bytes="400000"/>
  105. <pbcast.GMS print_local_addr="true" join_timeout="3000"
  106. shun="true"
  107. view_bundling="true"/>
  108.  
  109. -->
  110.  
  111. <!-- Example Multicast Example. We use TCP by default because EC2 and some clients routers cannot handle Mutlticast traffic
  112. <PING timeout="2000" num_initial_members="3"/>
  113. <MERGE2 max_interval="30000" min_interval="10000"/>
  114. <FD_SOCK/>
  115. <FD timeout="10000" max_tries="5" shun="true"/>
  116. <VERIFY_SUSPECT timeout="1500"/>
  117. <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
  118. retransmit_timeout="300,600,1200,2400,4800"
  119. discard_delivered_msgs="true"/>
  120. <UNICAST timeout="300,600,1200,2400,3600"/>
  121. <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  122. max_bytes="400000"/>
  123. <pbcast.GMS print_local_addr="true" join_timeout="5000" shun="false"
  124. view_bundling="true" view_ack_collection_timeout="5000"/>
  125. <FRAG2 frag_size="60000"/>
  126. <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
  127. <pbcast.FLUSH timeout="0"/>
  128. -->
  129. </jgroupsConfig>
  130.  
  131. </clustering>
  132.  
  133. <!-- EVICTION -->
  134.  
  135. </jbosscache>
  136.  
  137.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement