|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.lang.ref.ReferenceQueue<T>
public class ReferenceQueue<T>
ÂüÁ¶ Å¥ÀÔ´Ï´Ù. µµ´Þ °¡´É¼ºÀÌ ÀûÀýÈ÷ º¯°æµÇ¾ú´ø °ÍÀÌ °ËÃâµÇ¸é, µî·ÏµÇ¾î ÀÖ´Â ÂüÁ¶ °´Ã¼´Â °¡ºñÁö Ä÷ºÅÍ¿¡ ÀÇÇØ ÂüÁ¶ Å¥¿¡ Ãß°¡µË´Ï´Ù.
| »ý¼ºÀÚ °³¿ä | |
|---|---|
ReferenceQueue ()
»õ·Î¿î ÂüÁ¶ °´Ã¼ Å¥¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
Reference <? extends T > |
poll ()
ÀÌ Å¥¸¦ Æú¸µ ÇØ, ÂüÁ¶ °´Ã¼°¡ ÀÌ¿ë °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ È®ÀÎÇÕ´Ï´Ù. |
Reference <? extends T > |
remove ()
ÀÌ Å¥ÀÇ ´ÙÀ½ÀÇ ÂüÁ¶ °´Ã¼¸¦ »èÁ¦ÇÕ´Ï´Ù. |
Reference <? extends T > |
remove (long timeout)
ÀÌ Å¥ÀÇ ´ÙÀ½ÀÇ ÂüÁ¶ °´Ã¼¸¦ »èÁ¦ÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public ReferenceQueue()
| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public Reference <? extends T > poll()
null
public Reference <? extends T > remove(long timeout)
throws IllegalArgumentException,
InterruptedException
ÀÌ ¸Þ¼µå´Â ¸®¾óŸÀÓ º¸ÁõÀ» ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. Object.wait(long) ¸Þ¼µå È£Ãâ°ú °°°Ô ŸÀÓ ¾Æ¿ôÀÇ ½ºÄÉÁÙÀ» ÀÛ¼ºÇÕ´Ï´Ù.
timeout - °ªÀÌ Á¤ÀÇ °æ¿ì, ÀÌ Å¥¿¡ ÂüÁ¶°¡ Ãß°¡µÇ´Â °ÍÀ» ±â´Ù¸®´Â µ¿¾È, timeout ¹Ð¸® ¼¼ÄÁµåÀÇ »çÀÌ ºí·Ï µÈ´Ù. 0ÀÎ °æ¿ì, ¹«±âÇÑÀ¸·Î ºí·Ï µÈ´Ù
null
IllegalArgumentException - timeout ÀμöÀÇ °ªÀÌ ºÎÀÇ °æ¿ì
InterruptedException - ŸÀÓ ¾Æ¿ô ´ë±âÁß¿¡ ³¢¾îµé¾îÁ³À» °æ¿ì
public Reference <? extends T > remove()
throws InterruptedException
InterruptedException - ´ë±âÁß¿¡ ³¢¾îµé¾îÁ³À» °æ¿ì
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.