KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > builder > LockConfigBuilder


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.config.schema.builder;
6
7 public interface LockConfigBuilder {
8
9   public static final String JavaDoc TAG_AUTO_LOCK = "autolock";
10   public static final String JavaDoc TAG_NAMED_LOCK = "named-lock";
11
12   public void setLockName(String JavaDoc value);
13
14   public void setMethodExpression(String JavaDoc value);
15
16   public static final String JavaDoc LEVEL_WRITE = "write";
17   public static final String JavaDoc LEVEL_READ = "read";
18   public static final String JavaDoc LEVEL_CONCURRENT = "concurrent";
19   public static final String JavaDoc LEVEL_SYNCHRONOUS_WRITE = "synchronous-write";
20
21   public void setLockLevel(String JavaDoc value);
22
23   public void setLockName(int value);
24
25 }
Popular Tags