D F G I O P R S V

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_MIN - Static variable in interface org.ow2.util.pool.api.IPoolConfiguration
Default min is 0.
DEFAULT_SPARE - Static variable in interface org.ow2.util.pool.api.IPoolConfiguration
Default spare is 15.
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.

F

FactoryState - Enum in org.ow2.util.pool.api
 

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.
getAvailableItemCount() - Method in interface org.ow2.util.pool.api.IPoolState
 
getBusyItemCount() - Method in interface org.ow2.util.pool.api.IPoolState
 
getCreatingItemCount() - Method in interface org.ow2.util.pool.api.IPoolState
 
getExpectedItemCount() - Method in interface org.ow2.util.pool.api.IPoolState
 
getFactoryState() - Method in interface org.ow2.util.pool.api.IPoolState
 
getMax() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getMaxWaiters() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getMin() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getPoolConfiguration() - Method in interface org.ow2.util.pool.api.IPoolMetadata
 
getPoolConfiguration() - Method in interface org.ow2.util.pool.api.Pool
 
getRemovingItemCount() - Method in interface org.ow2.util.pool.api.IPoolState
 
getSpare() - Method in interface org.ow2.util.pool.api.IPoolConfiguration
 
getState() - Method in interface org.ow2.util.pool.api.Pool
 
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.
IPoolState - Interface in org.ow2.util.pool.api
State for a given pool.

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

setAvailableItemCount(int) - Method in interface org.ow2.util.pool.api.IPoolState
 
setBusyItemCount(int) - Method in interface org.ow2.util.pool.api.IPoolState
 
setCreatingItemCount(int) - Method in interface org.ow2.util.pool.api.IPoolState
 
setExpectedItemCount(int) - Method in interface org.ow2.util.pool.api.IPoolState
 
setFactoryState(FactoryState) - Method in interface org.ow2.util.pool.api.IPoolState
 
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.
setMin(int) - Method in interface org.ow2.util.pool.api.IPoolConfiguration
Sets the Minimum size of the pool.
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.
setRemovingItemCount(int) - Method in interface org.ow2.util.pool.api.IPoolState
 
setSpare(int) - Method in interface org.ow2.util.pool.api.IPoolConfiguration
Sets the spare size of instance of the pool.
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.

V

valueOf(String) - Static method in enum org.ow2.util.pool.api.FactoryState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ow2.util.pool.api.FactoryState
Returns an array containing the constants of this enum type, in the order they are declared.

D F G I O P R S V

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