01: /**
02: * Copyright (C) 2001-2006 France Telecom R&D
03: */package org.objectweb.speedo.runtime.concurrency;
04:
05: import org.objectweb.speedo.api.SpeedoProperties;
06:
07: import java.util.Properties;
08:
09: public class TestPessimisticMutexManyUsers extends TestManyUsers {
10:
11: public TestPessimisticMutexManyUsers(String n) {
12: super (n);
13: }
14:
15: public Properties getPMFProperties() {
16: Properties prop = super .getPMFProperties();
17: prop.put(SpeedoProperties.JDO_OPTION_OPTIMISTIC, "false");
18: prop
19: .put(
20: SpeedoProperties.TRANSACTION_LOCKING_PESSIMISTIC_POLICY,
21: SpeedoProperties.TRANSACTION_LOCKING_PESSIMISTIC_POLICY_MUTEX);
22: return prop;
23: }
24: }
|