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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


OverlappingFileLockExceptionjava.nio.channels

Java 1.4serializable unchecked

This


exception is thrown by the
lock( ) and tryLock( ) methods
of FileChannel if the requested lock region
overlaps a file lock that is already held by some thread in this JVM,
or if there is already a thread in this JVM waiting to lock an
overlapping region of the same file. The
FileChannel file locking mechanism is designed to
lock files against concurrent access by two separate processes. Two
threads within the same JVM should not attempt to acquire a lock on
overlapping regions of the same file, and any attempt to do so causes
an exception of this type to be thrown.


Figure 13-34. java.nio.channels.OverlappingFileLockException

public class

OverlappingFileLockException extends IllegalStateException {
// Public Constructors
public

OverlappingFileLockException ( );
}



    / 1191