Java – ThreadPoolExecutor.DiscardPolicy Class

Java ThreadPoolExecutor.DiscardPolicy Class methods, constructors, variables available in Java 8 release are listed below. We will publish example program on each methods ASAP.

Constructors in Java ThreadPoolExecutor.DiscardPolicy Class

S.No Constructor & Description
1 DiscardPolicy()

Creates a DiscardPolicy.

Methods in Java ThreadPoolExecutor.DiscardPolicy Class

S.No Method & Description
1 void rejectedExecution(Runnable r, ThreadPoolExecutor e)

Does nothing, which has the effect of discarding task r.

Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java – Base64.Encoder Class
  2. Java – AtomicLongFieldUpdater Class
  3. Java – LinkedList Class
  4. How to validate IPv4 Address using Java Regular Expression
  5. Java – ConcurrentSkipListMap Class
  6. Java – CopyOnWriteArrayList Class
  7. Java – ThreadPoolExecutor.AbortPolicy Class
  8. Java – LongUnaryOperator Interface
  9. Java – AbstractSequentialList Class
  10. Java – AbstractList Class
  11. Java – DoubleStream Interface
  12. Java – ListResourceBundle Class
  13. Java – BlockingDeque Interface
  14. Java – ScheduledFuture Interface
  15. Java – SimpleTimeZone Class

Be the first to comment

Leave a Reply