|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.util.concurrent.locks.AbstractOwnableSynchronizer
public abstract class AbstractOwnableSynchronizer
thread가 배타적으로 소유할 수 있는 싱크로나이저입니다. 이 클래스는, 소유권의 개념을 필요로 하는 일이 있는 락이나 관련하는 싱크로나이저를 작성하기 위한 기반을 제공합니다. AbstractOwnableSynchronizer 클래스 자체는 이 정보를 관리 또는 사용하지 않습니다. 다만 서브 클래스 및 툴에서는, 적절히 보관 유지된 값을 사용해, 액세스를 제어 및 감시하거나 진단을 제공하거나 할 수 있습니다.
생성자 의 개요 | |
---|---|
protected |
AbstractOwnableSynchronizer ()
서브 클래스에 의해 사용되는 빈 상태(empty)의 생성자 입니다. |
메소드의 개요 | |
---|---|
protected Thread |
getExclusiveOwnerThread ()
setExclusiveOwnerThread 로 마지막에 설정된 thread를 돌려주어, 설정되었던 적이 없는 경우는 null 를 돌려줍니다. |
protected void |
setExclusiveOwnerThread (Thread t)
현재 배타 액세스를 소유하는 thread를 설정합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
protected AbstractOwnableSynchronizer()
메소드의 상세 |
---|
protected final void setExclusiveOwnerThread(Thread t)
protected final Thread getExclusiveOwnerThread()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.