KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > options > cachemodelocal > AsyncReplPessLocksTest


1 /*
2  * JBoss, Home of Professional Open Source
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.cache.options.cachemodelocal;
8
9 import org.jboss.cache.config.Configuration;
10 import org.jboss.cache.misc.TestingUtil;
11
12 public class AsyncReplPessLocksTest extends CacheModeLocalTestBase
13 {
14     public AsyncReplPessLocksTest()
15     {
16         cacheMode = Configuration.CacheMode.REPL_ASYNC;
17         nodeLockingScheme = "PESSIMISTIC";
18     }
19
20     protected void delay()
21     {
22         TestingUtil.sleepThread(500);
23     }
24 }
25
Popular Tags