Class ReadWriteAccessController


  • public class ReadWriteAccessController
    extends java.lang.Object
    This class is a read and write access controller. It allows n readers or 1 writer.
    Author:
    Olivier Dedieu
    • Constructor Detail

      • ReadWriteAccessController

        public ReadWriteAccessController()
    • Method Detail

      • getReadAccess

        public void getReadAccess()
      • releaseReadAccess

        public void releaseReadAccess()
      • getWriteAccess

        public void getWriteAccess()
      • releaseWriteAccess

        public void releaseWriteAccess()