org.objectweb.perseus.concurrency.lib
Class ReadWriteLockValue
java.lang.Object
org.objectweb.perseus.concurrency.lib.ReadWriteLockValue
- All Implemented Interfaces:
- LockValue
- public class ReadWriteLockValue
- extends java.lang.Object
- implements LockValue
Copyright (C) 2003-2004
- France Telecom R&D
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Release: 1.0
Authors: Olivier Lobry (olivier.lobry@rd.francetelecom.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ
public static final byte READ
- See Also:
- Constant Field Values
UPGRADE
public static final byte UPGRADE
- See Also:
- Constant Field Values
WRITE
public static final byte WRITE
- See Also:
- Constant Field Values
ReadWriteLockValue
public ReadWriteLockValue()
maxValue
public byte maxValue()
- Specified by:
maxValue
in interface LockValue
isCompatibleWith
public boolean isCompatibleWith(byte l1,
byte l2)
- Specified by:
isCompatibleWith
in interface LockValue
getCompatibleWith
public byte getCompatibleWith(byte l1,
byte l2)
- Specified by:
getCompatibleWith
in interface LockValue
str
public java.lang.String str(byte l)
- Specified by:
str
in interface LockValue
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.