Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.io7m.jpuddle.core - package com.io7m.jpuddle.core
-
Core types and functions.
D
- deleteSafely(C) - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- deleteSafely(C) - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousType
-
Delete all items in the pool and shut the pool down.
- deleteUnsafely(C) - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- deleteUnsafely(C) - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousType
-
Delete all items in the pool and shut the pool down.
G
- get(C, K) - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- get(C, K) - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousUsableType
-
Retrieve an object from the pool, creating it if necessary.
- getLimit() - Method in exception com.io7m.jpuddle.core.JPPoolHardLimitExceededException
- getSize() - Method in exception com.io7m.jpuddle.core.JPPoolHardLimitExceededException
I
- isDeleted() - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- isDeleted() - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousUsableType
J
- JPPoolableListenerType<K,
T, C> - Interface in com.io7m.jpuddle.core -
The type of listeners used to manipulate objects within pools.
- JPPoolDeletedException - Exception in com.io7m.jpuddle.core
-
An exception raised when an attempt is made to use a pool that has been deleted.
- JPPoolDeletedException(String) - Constructor for exception com.io7m.jpuddle.core.JPPoolDeletedException
-
Construct an exception.
- JPPoolException - Exception in com.io7m.jpuddle.core
-
The type of exceptions raised by pool implementations.
- JPPoolException(String) - Constructor for exception com.io7m.jpuddle.core.JPPoolException
-
Construct an exception.
- JPPoolException(String, Throwable) - Constructor for exception com.io7m.jpuddle.core.JPPoolException
-
Construct an exception.
- JPPoolException(Throwable) - Constructor for exception com.io7m.jpuddle.core.JPPoolException
-
Construct an exception.
- JPPoolHardLimitExceededException - Exception in com.io7m.jpuddle.core
-
An exception raised by attempting to create a new object in a pool when that object would exceed the pool's hard size limit.
- JPPoolInternalOverflowException - Exception in com.io7m.jpuddle.core
-
An exception raised by an internal overflow error in the pool.
- JPPoolInternalOverflowException(Throwable) - Constructor for exception com.io7m.jpuddle.core.JPPoolInternalOverflowException
-
Construct an exception.
- JPPoolObjectCreationException - Exception in com.io7m.jpuddle.core
-
An exception caused when an object raises an exception upon creation.
- JPPoolObjectCreationException(Throwable) - Constructor for exception com.io7m.jpuddle.core.JPPoolObjectCreationException
-
Construct an exception.
- JPPoolObjectReturnException - Exception in com.io7m.jpuddle.core
-
An exception raised when an object cannot be returned to the pool for any reason.
- JPPoolObjectReturnException(String) - Constructor for exception com.io7m.jpuddle.core.JPPoolObjectReturnException
-
Construct an exception.
- JPPoolObjectsNotReturnedException - Exception in com.io7m.jpuddle.core
-
An exception raised by an attempt to destroy a pool with objects not yet returned.
- JPPoolObjectsNotReturnedException(String) - Constructor for exception com.io7m.jpuddle.core.JPPoolObjectsNotReturnedException
-
Construct an exception.
- JPPoolSynchronous<K,
T extends U, U, C> - Class in com.io7m.jpuddle.core -
The default implementation of the
JPPoolSynchronousTypeinterface. - JPPoolSynchronousType<K,
T extends U, U, C> - Interface in com.io7m.jpuddle.core -
The type of usable synchronous pools that yield values of type
Tfor keys of typeK, using context values of typeCto create new values if necessary. - JPPoolSynchronousUsableType<K,
T extends U, U, C> - Interface in com.io7m.jpuddle.core -
The type of usable synchronous pools that yield values of type
Tfor keys of typeK, using context values of typeCto create new values if necessary.
N
- newException(long, long) - Static method in exception com.io7m.jpuddle.core.JPPoolHardLimitExceededException
-
Construct a new exception.
- newPool(JPPoolableListenerType<K, T, C>, long, long) - Static method in class com.io7m.jpuddle.core.JPPoolSynchronous
-
Construct a new pool.
O
- onCreate(C, K) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Called when an object is to be created.
- onDelete(C, K, T) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Called when an object is to be deleted.
- onError(C, K, Optional<T>, Throwable) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Called on errors.
- onEstimateSize(C, K) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Estimate the size of the object that will be created for
key. - onGetSize(C, K, T) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Called when the size of
valueis required. - onReuse(C, K, T) - Method in interface com.io7m.jpuddle.core.JPPoolableListenerType
-
Called when an existing object is to be reused.
R
- returnValue(C, U) - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- returnValue(C, U) - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousUsableType
-
Return an object to the pool for re-use by later calls to
get(Object, Object).
S
- size() - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- size() - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousUsableType
T
- trim(C) - Method in class com.io7m.jpuddle.core.JPPoolSynchronous
- trim(C) - Method in interface com.io7m.jpuddle.core.JPPoolSynchronousUsableType
-
Trim free objects within the pool to reduce the pool size.
All Classes and Interfaces|All Packages|Serialized Form