com.jalios.util
Class ReadWriteAccessController

java.lang.Object
  extended by com.jalios.util.ReadWriteAccessController

public class ReadWriteAccessController
extends Object

This class is a read and write access controller. It allows n readers or 1 writer.

Version:
$Revision: 14756 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Constructor Summary
ReadWriteAccessController()
           
 
Method Summary
 void getReadAccess()
           
 void getWriteAccess()
           
 void releaseReadAccess()
           
 void releaseWriteAccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

ReadWriteAccessController

public ReadWriteAccessController()
Method Detail

getReadAccess

public void getReadAccess()

releaseReadAccess

public void releaseReadAccess()

getWriteAccess

public void getWriteAccess()

releaseWriteAccess

public void releaseWriteAccess()


Copyright © 2001-2010 Jalios SA. All Rights Reserved.