| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Class | Returns: the type of object the factory createsThe factory to examine factoryClass)Identifies the concrete type of object that an object factory creates. |
| private static < The interface type T> Object | Returns: concrete type used by the implementationThe interface that defines a generic type type, final Class<? extends T> The class that implements the interface with a concrete type clazz)Gets the concrete type used by an implementation of an interface that uses a generic type. |
| private static < The interface type. T> ParameterizedType | Returns: the matching parameterized type or null.The interface that defines a generic type. type, final Class<? extends T> The class that implements the interface with a concrete type. clazz)Gets the matching parameterized type or null. |
| private static Object | getTypeParameter(final Class<?>
defining class clazz, final Type the type argument of interest argType)For a generic parameter, return either the Class used or if the type is unknown, the index for the type in definition of the class |
| pack-priv static boolean | |
| pack-priv static Instant | |
| pack-priv static Instant | |
| pack-priv static Duration | |
| pack-priv static ChronoUnit | Returns: The corresponding ChronoUnit.A TimeUnit. timeUnit)Converts a |
| pack-priv static Duration | Returns: a Duration.the amount of the duration, measured in terms of the unit, positive or negative amount, final TimeUnit the unit that the duration is measured in, must have an exact duration, not null timeUnit)Converts am amount and TimeUnit into a Duration. |
| PoolImplUtils | back to summary |
|---|---|
| pack-priv PoolImplUtils() | |
| getFactoryType | back to summary |
|---|---|
| pack-priv static Class Identifies the concrete type of object that an object factory creates.
| |
| getGenericType | back to summary |
|---|---|
| private static <T> Object getGenericType(final Class<T> type, final Class<? extends T> clazz) Gets the concrete type used by an implementation of an interface that uses a generic type. | |
| getParameterizedType | back to summary |
|---|---|
| private static <T> ParameterizedType getParameterizedType(final Class<T> type, final Class<? extends T> clazz) Gets the matching parameterized type or null.
| |
| getTypeParameter | back to summary |
|---|---|
| private static Object getTypeParameter(final Class<?> clazz, final Type argType) For a generic parameter, return either the Class used or if the type is unknown, the index for the type in definition of the class | |
| isPositive | back to summary |
|---|---|
| pack-priv static boolean isPositive(final Duration delay) | |
| max | back to summary |
|---|---|
| pack-priv static Instant max(final Instant a, final Instant b) Returns the greater of two | |
| min | back to summary |
|---|---|
| pack-priv static Instant min(final Instant a, final Instant b) Returns the smaller of two | |
| nonNull | back to summary |
|---|---|
| pack-priv static Duration nonNull(final Duration value, final Duration defaultValue) Returns a non-null duration, value if non-null, otherwise defaultValue. | |
| toChronoUnit | back to summary |
|---|---|
| pack-priv static ChronoUnit toChronoUnit(final TimeUnit timeUnit) Converts a
| |
| toDuration | back to summary |
|---|---|
| pack-priv static Duration toDuration(final long amount, final TimeUnit timeUnit) Converts am amount and TimeUnit into a Duration. | |