Class ThreadPoolExecutor.DiscardPolicy

    • Constructor Summary

      Constructors 
      Constructor Description
      DiscardPolicy()
      Creates a DiscardPolicy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void rejectedExecution​(java.lang.Runnable r, ThreadPoolExecutor e)
      Does nothing, which has the effect of discarding task r.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiscardPolicy

        public DiscardPolicy()
        Creates a DiscardPolicy.