Skip to content

Commit 0d4b879

Browse files
committed
Update README.md
1 parent 700ec43 commit 0d4b879

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ A library for using Memcached as a second level distributed cache in Hibernate.
1414
* Compatible with hibernate 4.3.x
1515
* Example config:
1616

17-
``<property name="hibernate.cache.region.factory_class">com.googlecode.hibernate.memcached.MemcachedRegionFactory</property>``
18-
``<property name="hibernate.memcached.operationTimeout">5000</property>``
19-
``<property name="hibernate.memcached.connectionFactory">KetamaConnectionFactory</property>``
20-
``<property name="hibernate.memcached.hashAlgorithm">HashAlgorithm.FNV1_64_HASH</property>``
17+
```xml
18+
<property name="hibernate.cache.region.factory_class">com.mc.hibernate.memcached.MemcachedRegionFactory</property>
19+
<property name="hibernate.memcached.operationTimeout">5000</property>
20+
<property name="hibernate.memcached.connectionFactory">KetamaConnectionFactory</property>
21+
<property name="hibernate.memcached.hashAlgorithm">HashAlgorithm.FNV1_64_HASH</property>
22+
```
2123

22-
If memcached authentication is required, it can be specified using "hibernate.memcached.username" and "hibernate.memcached.password"
24+
If memcached authentication is required, it can be specified using "hibernate.memcached.username" and "hibernate.memcached.password"

0 commit comments

Comments
 (0)