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.tctest.spring.bean;
06:
07: public interface ISharedLock {
08:
09: public long getLocalID();
10:
11: public void unlockedMutate();
12:
13: public void lockAndMutate();
14:
15: public void release();
16:
17: public Long getFirstHolder();
18:
19: public boolean isFirstHolder();
20:
21: public boolean sharedLockHeld();
22:
23: }
|