Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
O
P
R
S
T
U
A
array_
- Variable in class org.apache.fulcrum.pool.
BoundedBuffer
ArrayCtorRecyclable
- Interface in
org.apache.fulcrum.pool
An interface for objects that can be pooled and recycled several times by different clients.
B
BoundedBuffer
- Class in
org.apache.fulcrum.pool
Efficient array-based bounded buffer class.
BoundedBuffer(int)
- Constructor for class org.apache.fulcrum.pool.
BoundedBuffer
Creates a buffer with the given capacity.
BoundedBuffer()
- Constructor for class org.apache.fulcrum.pool.
BoundedBuffer
Creates a buffer with the default capacity
C
capacity()
- Method in class org.apache.fulcrum.pool.
BoundedBuffer
Returns the capacity of the buffer.
clearPool(String)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Clears instances of a named class from the pool.
clearPool()
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Clears all instances from the pool.
clearPool(String)
- Method in interface org.apache.fulcrum.pool.
PoolService
Clears instances of a named class from the pool.
clearPool()
- Method in interface org.apache.fulcrum.pool.
PoolService
Clears all instances from the pool.
configure(Configuration)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Avalon component lifecycle method
D
DEFAULT_CAPACITY
- Static variable in class org.apache.fulcrum.pool.
BoundedBuffer
The default capacity.
DEFAULT_POOL_CAPACITY
- Static variable in interface org.apache.fulcrum.pool.
PoolService
The default pool capacity.
DefaultPoolService
- Class in
org.apache.fulcrum.pool
The Pool Service extends the Factory Service by adding support for pooling instantiated objects.
DefaultPoolService()
- Constructor for class org.apache.fulcrum.pool.
DefaultPoolService
dispose()
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Avalon component lifecycle method
dispose()
- Method in interface org.apache.fulcrum.pool.
Recyclable
Disposes the object after use.
E
emptySlots_
- Variable in class org.apache.fulcrum.pool.
BoundedBuffer
G
getCapacity(String)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets the capacity of the pool for a named class.
getCapacity(String)
- Method in interface org.apache.fulcrum.pool.
PoolService
Gets the capacity of the pool for a named class.
getFactory()
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets the factory service.
getInstance(String)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a named class either from the pool or by calling the Factory Service if the pool is empty.
getInstance(String, ClassLoader)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a named class either from the pool or by calling the Factory Service if the pool is empty.
getInstance(String, Object[], String[])
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a named class either from the pool or by calling the Factory Service if the pool is empty.
getInstance(String, ClassLoader, Object[], String[])
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a named class either from the pool or by calling the Factory Service if the pool is empty.
getInstance(Class)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a specified class either from the pool or by instatiating from the class if the pool is empty.
getInstance(Class, Object[], String[])
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets an instance of a specified class either from the pool or by instatiating from the class if the pool is empty.
getInstance(Class)
- Method in interface org.apache.fulcrum.pool.
PoolService
Gets an instance of a specified class either from the pool or by instantiating from the class if the pool is empty.
getInstance(Class, Object[], String[])
- Method in interface org.apache.fulcrum.pool.
PoolService
Gets an instance of a specified class either from the pool or by instantiating from the class if the pool is empty.
getSize(String)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Gets the current size of the pool for a named class.
getSize(String)
- Method in interface org.apache.fulcrum.pool.
PoolService
Gets the current size of the pool for a named class.
I
init(Object)
- Method in interface org.apache.fulcrum.pool.
InitableRecyclable
This method should be called after retrieving the object from the pool.
InitableRecyclable
- Interface in
org.apache.fulcrum.pool
An interface for objects that can be pooled and recycled several times by different clients.
initialize()
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Avalon component lifecycle method Initializes the service by loading default class loaders and customized object factories.
isDisposed()
- Method in interface org.apache.fulcrum.pool.
Recyclable
Checks whether the recyclable has been disposed.
isLoaderSupported(String)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Tests if specified class loaders are supported for a named class.
O
ObjectInputStreamForContext
- Class in
org.apache.fulcrum.pool
A deserialization stream for a specific class loader context.
ObjectInputStreamForContext()
- Constructor for class org.apache.fulcrum.pool.
ObjectInputStreamForContext
ObjectInputStreamForContext(InputStream, ClassLoader)
- Constructor for class org.apache.fulcrum.pool.
ObjectInputStreamForContext
Contructs a new object stream for a context.
offer(Object)
- Method in class org.apache.fulcrum.pool.
BoundedBuffer
Puts an item in the buffer only if there is capacity available.
org.apache.fulcrum.pool
- package org.apache.fulcrum.pool
P
peek()
- Method in class org.apache.fulcrum.pool.
BoundedBuffer
Peeks, but does not remove the top item from the buffer.
poll()
- Method in class org.apache.fulcrum.pool.
BoundedBuffer
Polls and removes the top item from the buffer if one is available.
POOL_CAPACITY
- Static variable in class org.apache.fulcrum.pool.
DefaultPoolService
The property specifying the pool capacity.
PoolException
- Exception in
org.apache.fulcrum.pool
Exception thrown when there is a problem with the PoolException
PoolException(String)
- Constructor for exception org.apache.fulcrum.pool.
PoolException
PoolException(Exception)
- Constructor for exception org.apache.fulcrum.pool.
PoolException
PoolException(String, Exception)
- Constructor for exception org.apache.fulcrum.pool.
PoolException
PoolService
- Interface in
org.apache.fulcrum.pool
The Pool Service extends the Factory Service by adding support for pooling instantiated objects.
putInstance(Object)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Puts a used object back to the pool.
putInstance(Object)
- Method in interface org.apache.fulcrum.pool.
PoolService
Puts a used object back to the pool.
putPtr_
- Variable in class org.apache.fulcrum.pool.
BoundedBuffer
R
Recyclable
- Interface in
org.apache.fulcrum.pool
An interface for objects that can be pooled and recycled several times by different clients.
recycle(Object[])
- Method in interface org.apache.fulcrum.pool.
ArrayCtorRecyclable
Recycles the object for a new client.
recycle()
- Method in interface org.apache.fulcrum.pool.
Recyclable
Recycles the object for a new client.
resolveClass(ObjectStreamClass)
- Method in class org.apache.fulcrum.pool.
ObjectInputStreamForContext
ROLE
- Static variable in interface org.apache.fulcrum.pool.
PoolService
Avalon role - used to id the component within the manager
S
service(ServiceManager)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Avalon component lifecycle method
setCapacity(String, int)
- Method in class org.apache.fulcrum.pool.
DefaultPoolService
Sets the capacity of the pool for a named class.
setCapacity(String, int)
- Method in interface org.apache.fulcrum.pool.
PoolService
Sets the capacity of the pool for a named class.
size()
- Method in class org.apache.fulcrum.pool.
BoundedBuffer
Returns the number of elements in the buffer.
T
takePtr_
- Variable in class org.apache.fulcrum.pool.
BoundedBuffer
U
usedSlots_
- Variable in class org.apache.fulcrum.pool.
BoundedBuffer
A
B
C
D
E
G
I
O
P
R
S
T
U
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2005-2009
The Apache Software Foundation
. All Rights Reserved.