Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
G
H
I
J
O
P
R
S
T
V
C
create(Clue)
- Method in interface org.ow2.util.pool.impl.
PoolFactory
Creates an instance with the given hint.
D
discard(InstanceType)
- Method in class org.ow2.util.pool.impl.
JPool
Discard the instance which is in the pool.
E
equals(Object)
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
Indicates whether some other object is "equal to" this one.
G
get()
- Method in class org.ow2.util.pool.impl.
JPool
Gets an object from the pool.
get(Clue)
- Method in class org.ow2.util.pool.impl.
JPool
Gets an object by using a specific hint.
getConfiguration(Pool)
- Static method in class org.ow2.util.pool.impl.
PoolConfigurationHelper
Allow to return a configuration for the pool by extracting data from the
Pool
annotation.
getCreatedTime()
- Method in class org.ow2.util.pool.impl.
PoolEntryStatistics
getMax()
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
getMaxWaiters()
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
getPoolConfiguration()
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
getTimeout()
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
getType()
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
H
hashCode()
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
Returns a hash code value for the pool configuration.
I
isAllowSharedInstance()
- Method in class org.ow2.util.pool.impl.
JPool
Return true if many instances of the same object can be created (when pool is not full).
isMatching(InstanceType, Clue)
- Method in interface org.ow2.util.pool.impl.
PoolFactory
Checks if the given object with the given clue is matching.
J
JPool
<
InstanceType
,
Clue
> - Class in
org.ow2.util.pool.impl
Abstract pool.
Need to be extended to set-up the correct generic types used for BeanType and Hint.
JPool(PoolFactory<InstanceType, Clue>)
- Constructor for class org.ow2.util.pool.impl.
JPool
Builds a new pool.
O
org.ow2.util.pool.impl
- package org.ow2.util.pool.impl
org.ow2.util.pool.impl.visitor
- package org.ow2.util.pool.impl.visitor
P
PoolConfiguration
- Class in
org.ow2.util.pool.impl
Implementation of the Pool Configuration interface.
PoolConfiguration()
- Constructor for class org.ow2.util.pool.impl.
PoolConfiguration
PoolConfigurationHelper
- Class in
org.ow2.util.pool.impl
Helper class that extracts data from annotation and returns a
PoolConfiguration
object.
PoolEntryStatistics
- Class in
org.ow2.util.pool.impl
Provides statistics on an entry of the pool.
PoolEntryStatistics()
- Constructor for class org.ow2.util.pool.impl.
PoolEntryStatistics
PoolFactory
<
InstanceType
,
Clue
> - Interface in
org.ow2.util.pool.impl
Allows to call specific methods for each implementation of the pool for each lifecycle on an object.
PoolVisitor
- Class in
org.ow2.util.pool.impl.visitor
This class manages the handling of @
Pool
annotation.
PoolVisitor(IPoolMetadata)
- Constructor for class org.ow2.util.pool.impl.visitor.
PoolVisitor
Constructor.
R
release(InstanceType)
- Method in class org.ow2.util.pool.impl.
JPool
Puts back the instance in the pool so it can be reused.
remove(InstanceType)
- Method in interface org.ow2.util.pool.impl.
PoolFactory
Callback called when object is gonna be removed.
S
setAllowSharedInstance(boolean)
- Method in class org.ow2.util.pool.impl.
JPool
Allow to share instances (shouldn't be use in stateful case as one stateful ID is linked to one client.
setCreatedTime(long)
- Method in class org.ow2.util.pool.impl.
PoolEntryStatistics
Sets the value of the creation time of this entry.
setMax(int)
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
Sets the Maximum size of the pool.
setMaxWaiters(int)
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
Sets the number of waiters that can wait for the given timeout.
setPoolConfiguration(IPoolConfiguration)
- Method in class org.ow2.util.pool.impl.
JPool
Configure the pool with a given configuration.
setTimeout(long)
- Method in class org.ow2.util.pool.impl.
PoolConfiguration
Sets the timeout for waiters that are waiting for an empty element in the pool..
start()
- Method in class org.ow2.util.pool.impl.
JPool
Start the pool.
It could create initial instances if specified.
stop()
- Method in class org.ow2.util.pool.impl.
JPool
Stop this pool.
T
TYPE
- Static variable in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Type of annotation.
V
validate(InstanceType, PoolEntryStatistics)
- Method in interface org.ow2.util.pool.impl.
PoolFactory
Validate an instance by giving some statistics.
visit(String, Object)
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Visits a primitive value of the annotation.
visitAnnotation(String, String)
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Visits a nested annotation value of the annotation.
visitArray(String)
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Visits an array value of the annotation.
visitEnd()
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Visits the end of the annotation.
visitEnum(String, String, String)
- Method in class org.ow2.util.pool.impl.visitor.
PoolVisitor
Visits an enumeration value of the annotation.
C
D
E
G
H
I
J
O
P
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2007-2009
OW2 Consortium
. All Rights Reserved.