01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.config.schema.builder;
06:
07: public interface LockConfigBuilder {
08:
09: public static final String TAG_AUTO_LOCK = "autolock";
10: public static final String TAG_NAMED_LOCK = "named-lock";
11:
12: public void setLockName(String value);
13:
14: public void setMethodExpression(String value);
15:
16: public static final String LEVEL_WRITE = "write";
17: public static final String LEVEL_READ = "read";
18: public static final String LEVEL_CONCURRENT = "concurrent";
19: public static final String LEVEL_SYNCHRONOUS_WRITE = "synchronous-write";
20:
21: public void setLockLevel(String value);
22:
23: public void setLockName(int value);
24:
25: }
|