|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object | +--java.lang.ref.ReferenceQueue
ÂüÁ¶ Å¥ÀÔ´Ï´Ù. µµ´Þ °¡´É¼ºÀÌ ÀûÀýÈ÷ º¯°æµÇ¾ú´ø °ÍÀÌ °ËÃâµÇ¸é(ÀÚ), µî·ÏµÇ¾î ÀÖ´Â ÂüÁ¶ ¿ÀºêÁ§Æ®´Â °¡º£Áö ¼öÁý°¡¿¡ ÀÇÇØ ÂüÁ¶ Å¥¿¡ Ãß°¡µË´Ï´Ù.
| »ý¼ºÀÚÀÇ °³¿ä | |
ReferenceQueue ()
»õ·Î¿î ÂüÁ¶ ¿ÀºêÁ§Æ® Å¥¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
Reference |
poll ()
ÀÌ Å¥¸¦ Æú¸µ ÇØ, ÂüÁ¶ ¿ÀºêÁ§Æ®°¡ ÀÌ¿ë °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ È®ÀÎÇÕ´Ï´Ù. |
Reference |
remove ()
ÀÌ Å¥ÀÇ ´ÙÀ½ÀÇ ÂüÁ¶ ¿ÀºêÁ§Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
Reference |
remove (long timeout)
ÀÌ Å¥ÀÇ ´ÙÀ½ÀÇ ÂüÁ¶ ¿ÀºêÁ§Æ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| »ý¼ºÀÚÀÇ »ó¼¼ |
public ReferenceQueue()
| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public Reference poll()
null
public Reference remove(long timeout)
throws IllegalArgumentException ,
InterruptedException
ÀÌ ¸Þ¼Òµå´Â Object.wait(long) ¸Þ¼Òµå¸¦ È£ÃâÇÏ´Â °Í°ú °°Àº ¹æ¹ýÀ¸·Î ŸÀÓ ¾Æ¿ôÀ» ½ºÄÉÁÙ ÇÕ´Ï´Ù.
timeout - Ä¡°¡ Á¤ÀÇ °æ¿ì, ÀÌ Å¥¿¡ ÂüÁ¶°¡ Ãß°¡µÇ´Â °ÍÀ» ±â´Ù¸®´Â µ¿¾È,timeout ¹Ð¸® ¼¼ÄÁµåÀÇ »çÀÌ ºí·Ï µÈ´Ù. 0 ÀÇ °æ¿ì, ¹«±âÇÑÀ¸·Î ºí·Ï µÈ´Ù
null
IllegalArgumentException - timeout ÀμöÀÇ °ªÀÌ ºÎÀÇ °æ¿ì
InterruptedException - ŸÀÓ ¾Æ¿ô ´ë±âÁß¿¡ ³¢¾îµé¾îÁ³À» °æ¿ì
public Reference remove()
throws InterruptedException
InterruptedException - ´ë±âÁß¿¡ ³¢¾îµé¾îÁ³À» °æ¿ì
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.