net.dpml.http
Interface BoundedThreadPool.Context

Enclosing interface:
BoundedThreadPool

public static interface BoundedThreadPool.Context

HTTP Context handler context defintion.


Method Summary
 boolean getDaemon(boolean flag)
          Return the deamon flag.
 int getIdle(int idle)
          Get the maximum idle time.
 int getMax(int max)
          Return maximum thread level.
 int getMin(int min)
          Get the minimum thread level.
 String getName(String name)
          Get the thread pool name.
 int getPriority(int priority)
          Get the thread pool priority.
 

Method Detail

getMin

public int getMin(int min)
Get the minimum thread level.

Parameters:
min - the default minimum value
Returns:
the minimum thread level

getMax

public int getMax(int max)
Return maximum thread level.

Parameters:
max - the default maximum value
Returns:
the maximum thread level

getDaemon

public boolean getDaemon(boolean flag)
Return the deamon flag.

Parameters:
flag - true if a damon thread
Returns:
the deamon thread policy

getName

public String getName(String name)
Get the thread pool name.

Parameters:
name - the pool name
Returns:
the name

getPriority

public int getPriority(int priority)
Get the thread pool priority.

Parameters:
priority - the thread pool priority
Returns:
the priority

getIdle

public int getIdle(int idle)
Get the maximum idle time.

Parameters:
idle - the default maximum idle time
Returns:
the maximum idle time in milliseconds