org.objectweb.perseus.concurrency.lib

Interface LockValue

Known Implementing Classes:
ReadWriteLockValue, RWLockValue

public interface 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: lobry Date: 19 d?c. 2003 Time: 09:57:48

Field Summary

static byte
NOLOCK
static byte
UNDEFINED

Method Summary

byte
getCompatibleWith(byte l1, byte l2)
boolean
isCompatibleWith(byte l1, byte l2)
byte
maxValue()
String
str(byte l)

Field Details

NOLOCK

public static final byte NOLOCK

Field Value:
0


UNDEFINED

public static final byte UNDEFINED

Field Value:
-1

Method Details

getCompatibleWith

public byte getCompatibleWith(byte l1,
                              byte l2)


isCompatibleWith

public boolean isCompatibleWith(byte l1,
                                byte l2)


maxValue

public byte maxValue()


str

public String str(byte l)


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.