Phaser.AwaitAdvanceInterruptibly 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AwaitAdvanceInterruptibly(Int32) |
현재 단계가 지정된 단계 값과 같지 않거나 이 단계가 종료된 경우 이 단계가 지정된 단계 값에서 진행되도록 대기하거나, 대기하는 동안 중단된 경우 throw |
AwaitAdvanceInterruptibly(Int32, Int64, TimeUnit) |
지정된 단계 값 또는 지정된 시간 제한에서 경과할 때까지 이 단계의 단계를 기다리거나, 대기하는 동안 중단된 경우 throw |
AwaitAdvanceInterruptibly(Int32)
현재 단계가 지정된 단계 값과 같지 않거나 이 단계가 종료된 경우 이 단계가 지정된 단계 값에서 진행되도록 대기하거나, 대기하는 동안 중단된 경우 throw InterruptedException
하거나, 즉시 반환합니다.
[Android.Runtime.Register("awaitAdvanceInterruptibly", "(I)I", "GetAwaitAdvanceInterruptibly_IHandler")]
public virtual int AwaitAdvanceInterruptibly (int phase);
[<Android.Runtime.Register("awaitAdvanceInterruptibly", "(I)I", "GetAwaitAdvanceInterruptibly_IHandler")>]
abstract member AwaitAdvanceInterruptibly : int -> int
override this.AwaitAdvanceInterruptibly : int -> int
매개 변수
- phase
- Int32
도착 단계 번호 또는 종료된 경우 음수 값 이 인수는 일반적으로 이전 호출 arrive
에서 반환된 값입니다 arriveAndDeregister
.
반환
다음 도착 단계 번호 또는 음수인 경우 인수 또는 종료된 경우 (음수) #getPhase() 현재 단계
- 특성
예외
대기하는 동안 스레드가 중단된 경우
설명
현재 단계가 지정된 단계 값과 같지 않거나 이 단계가 종료된 경우 이 단계가 지정된 단계 값에서 진행되도록 대기하거나, 대기하는 동안 중단된 경우 throw InterruptedException
하거나, 즉시 반환합니다.
에 대한 java.util.concurrent.Phaser.awaitAdvanceInterruptibly(int)
Java 설명서
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.
적용 대상
AwaitAdvanceInterruptibly(Int32, Int64, TimeUnit)
지정된 단계 값 또는 지정된 시간 제한에서 경과할 때까지 이 단계의 단계를 기다리거나, 대기하는 동안 중단된 경우 throw InterruptedException
하거나, 현재 단계가 지정된 단계 값과 같지 않거나 이 단계가 종료된 경우 즉시 반환합니다.
[Android.Runtime.Register("awaitAdvanceInterruptibly", "(IJLjava/util/concurrent/TimeUnit;)I", "GetAwaitAdvanceInterruptibly_IJLjava_util_concurrent_TimeUnit_Handler")]
public virtual int AwaitAdvanceInterruptibly (int phase, long timeout, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("awaitAdvanceInterruptibly", "(IJLjava/util/concurrent/TimeUnit;)I", "GetAwaitAdvanceInterruptibly_IJLjava_util_concurrent_TimeUnit_Handler")>]
abstract member AwaitAdvanceInterruptibly : int * int64 * Java.Util.Concurrent.TimeUnit -> int
override this.AwaitAdvanceInterruptibly : int * int64 * Java.Util.Concurrent.TimeUnit -> int
매개 변수
- phase
- Int32
도착 단계 번호 또는 종료된 경우 음수 값 이 인수는 일반적으로 이전 호출 arrive
에서 반환된 값입니다 arriveAndDeregister
.
- timeout
- Int64
포기하기 전에 대기하는 시간(단위)입니다. unit
- unit
- TimeUnit
TimeUnit
매개 변수를 해석 timeout
하는 방법 결정
반환
다음 도착 단계 번호 또는 음수인 경우 인수 또는 종료된 경우 (음수) #getPhase() 현재 단계
- 특성
예외
대기하는 동안 스레드가 중단된 경우
대기하는 동안 시간이 초과된 경우
설명
지정된 단계 값 또는 지정된 시간 제한에서 경과할 때까지 이 단계의 단계를 기다리거나, 대기하는 동안 중단된 경우 throw InterruptedException
하거나, 현재 단계가 지정된 단계 값과 같지 않거나 이 단계가 종료된 경우 즉시 반환합니다.
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.