com.h3c.util.concurrent

## Class ReadWriteCriticalSectionExecutor

- java.lang.Object
- - com.h3c.util.concurrent.ReadWriteCriticalSectionExecutor

-     public class ReadWriteCriticalSectionExecutor
      extends Object

  Critical section executor for readers and writers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReadWriteCriticalSectionExecutor()` Creates a new critical section executor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CriticalSectionExecutor` | `getReadExecutor()` Gets the critical section executor for read operations.
    `CriticalSectionExecutor` | `getWriteExecutor()` Gets the critical section executor for write operations.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ReadWriteCriticalSectionExecutor

          public ReadWriteCriticalSectionExecutor()

      Creates a new critical section executor.

  - ### Method Detail

    - #### getReadExecutor

          public CriticalSectionExecutor getReadExecutor()

      Gets the critical section executor for read operations.
      Returns:
        critical section executor for read operations

    - #### getWriteExecutor

          public CriticalSectionExecutor getWriteExecutor()

      Gets the critical section executor for write operations.
      Returns:
        critical section executor for write operations

Copyright © 2014. All Rights Reserved.