|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy
public static class ThreadPoolExecutor.DiscardOldestPolicy
executor°¡ ¼Ë´Ù¿î Çϰí ÀÖÁö ¾Ê´Â °æ¿ì¿¡ °¡Àå ³°Àº ¹Ìó¸®ÀÇ ¿ä±¸¸¦ ÆÄ±âÇØ execute¸¦ Àç½ÃÇàÇÑ´Ù, °ÅºÎµÈ ŽºÅ©ÀÇ Çڵ鷯. executor°¡ ¼Ë´Ù¿î Çϰí ÀÖ´Â °æ¿ì, ŽºÅ©´Â ÆÄ±âµË´Ï´Ù.
| »ý¼ºÀÚ °³¿ä | |
|---|---|
ThreadPoolExecutor.DiscardOldestPolicy ()
ÁöÁ¤µÈ executor DiscardOldestPolicy¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
void |
rejectedExecution (Runnable r,
ThreadPoolExecutor e)
executor°¡ ¼Ë´Ù¿î ÇÏÁö ¾Ê´Â ÇÑ, ŽºÅ©°¡ °ð¹Ù·Î ÀÌ¿ë °¡´ÉÇÑ °æ¿ì¿¡ executor°¡ ½ÇÇàÇØ¾ßÇÒ ´ÙÀ½ÀÇ Å½ºÅ©¸¦ ÃëµæÇØ ¹«½ÃÇØ, ŽºÅ© r ½ÇÇàÀ» ÀçÂ÷ ½ÃµµÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public ThreadPoolExecutor.DiscardOldestPolicy()
| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public void rejectedExecution(Runnable r,
ThreadPoolExecutor e)
RejectedExecutionHandler ³»ÀÇ rejectedExecution r - ½ÇÇàÀÌ ¿ä±¸µÇ´Â ½ÇÇà °¡´É ŽºÅ©e - ÀÌ Å½ºÅ©ÀÇ ½ÇÇàÀ» ½ÃµµÇÏ´Â executor
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.