src/main/java/org/jboss/util/threadpool/BasicTaskWrapper.java
protected boolean taskAccepted()
   {
      try
      {
         task.accepted(getElapsedTime());
         return true;
      }
      catch (Throwable t)
      {
         log.warn("Unexpected error during 'accepted' for task: " + taskString, t);
         return false;
      }
   }
protected boolean taskAccepted()
   {
      try
      {
         task.accepted(getElapsedTime());
         return true;
      }
      catch (Throwable t)
      {
         log.warn("Unexpected error during 'accepted' for task: " + taskString, t);
         return false;
      }
   }
protected boolean taskAccepted ( ) { try { task . accepted ( getElapsedTime ( ) ) ; return true ; } catch ( Throwable t ) { log . warn ( "Unexpected error during 'accepted' for task: " + taskString , t ) ; return false ; } }
Notify the task it has been accepted

@return true when the notification succeeds, false otherwise
Notify the task it has been accepted