org.apache.xmlrpc.util
Interface ThreadPool.InterruptableTask

All Superinterfaces:
ThreadPool.Task
All Known Implementing Classes:
Connection, ServletConnection
Enclosing class:
ThreadPool

public static interface ThreadPool.InterruptableTask
extends ThreadPool.Task

A task, which may be interrupted, if the pool is shutting down.


Method Summary
 void shutdown()
          Interrupts the task.
 
Methods inherited from interface org.apache.xmlrpc.util.ThreadPool.Task
run
 

Method Detail

shutdown

void shutdown()
              throws java.lang.Throwable
Interrupts the task.

Throws:
java.lang.Throwable - Shutting down the task failed.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.