Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


ReentrantReadWriteLock.WriteLockjava.util.concurrent.locks

Java 5.0serializable

A

Lock implementation for
writer threads. This lock can be acquired only when all holders of
the corresponding ReadLock have relinquished the
locks. While this lock is held, no other thread may acquire either
this lock or the corresponding ReadLock.

public static class

ReentrantReadWriteLock.WriteLock implements Lock, Serializable {
// Protected Constructors
protected

WriteLock (ReentrantReadWriteLock

lock );
// Methods Implementing Lock
public void

lock ( );
public void

lockInterruptibly ( ) throws InterruptedException;
public Condition

newCondition ( );
public boolean

tryLock ( );
public boolean

tryLock (long

timeout , java.util.concurrent.TimeUnit

unit )
throws InterruptedException;
public void

unlock ( );
// Public Methods Overriding Object
public String

toString ( );
}


Returned By


ReentrantReadWriteLock.writeLock( )


    / 1191