D G I O P R S

D

DEFAULT_MAX - Static variable in interface org.ow2.util.pool.api.IPoolConfiguration
Default max is unlimited.
DEFAULT_MAX_WAITERS - Static variable in interface org.ow2.util.pool.api.IPoolConfiguration
Default max waiters = 1000.
DEFAULT_TIMEOUT - Static variable in interface org.ow2.util.pool.api.IPoolConfiguration
Default timeout = 10 second.
discard(InstanceType) - Method in interface org.ow2.util.pool.api.Pool
Discard the instance which is in the pool.

G

get() - Method in interface org.ow2.util.pool.api.Pool
Gets an object from the pool.
get(Clue) - Method in interface org.ow2.util.pool.api.Pool
Gets an object by using a specific hint.
getMax() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getMaxWaiters() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getPoolConfiguration() - Method in interface org.ow2.util.pool.api.IPoolMetadata
 
getTimeout() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 

I

IPoolConfiguration - Interface in org.ow2.util.pool.api
Defines the attributes that can be set on the pool in order to configure it.
IPoolMetadata - Interface in org.ow2.util.pool.api
Metadata that needs to use #64;Pool annotation needs to implement this interface.

O

org.ow2.util.pool.annotation - package org.ow2.util.pool.annotation
 
org.ow2.util.pool.api - package org.ow2.util.pool.api
 

P

Pool - Annotation Type in org.ow2.util.pool.annotation
Allow to specify pool attributes.
Pool<InstanceType,Clue> - Interface in org.ow2.util.pool.api
Defines a common pool interface used to manage objects.
PoolAttributes - Interface in org.ow2.util.pool.api
Defines the interface used to collect/set information on this pool.
PoolException - Exception in org.ow2.util.pool.api
Exception thrown if there is a failure in the pool.
PoolException() - Constructor for exception org.ow2.util.pool.api.PoolException
Constructs a new runtime exception with null as its detail message.
PoolException(String) - Constructor for exception org.ow2.util.pool.api.PoolException
Constructs a new runtime exception with the specified detail message.
PoolException(String, Throwable) - Constructor for exception org.ow2.util.pool.api.PoolException
Constructs a new runtime exception with the specified detail message and cause.

R

release(InstanceType) - Method in interface org.ow2.util.pool.api.Pool
Puts back the instance in the pool so it can be reused.

S

setMax(int) - Method in interface org.ow2.util.pool.api.IPoolConfiguration
Sets the Maximum size of the pool.
setMaxWaiters(int) - Method in interface org.ow2.util.pool.api.IPoolConfiguration
Sets the number of waiters that can wait for the given timeout.
setPoolConfiguration(IPoolConfiguration) - Method in interface org.ow2.util.pool.api.IPoolMetadata
Sets the pool configuration for this metadata.
setPoolConfiguration(IPoolConfiguration) - Method in interface org.ow2.util.pool.api.Pool
Configure the pool with a given configuration.
setTimeout(long) - Method in interface org.ow2.util.pool.api.IPoolConfiguration
Sets the timeout for waiters that are waiting for an empty element in the pool..
start() - Method in interface org.ow2.util.pool.api.Pool
Start the pool.
It could create initial instances if specified.
stop() - Method in interface org.ow2.util.pool.api.Pool
Stop this pool.

D G I O P R S

Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.