| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Map | |
| public static final boolean | PURGE_ENABLED
Indicates the periodic purging of the ScheduledExecutorService is enabled. |
| pack-priv static final String | |
| public static final int | PURGE_PERIOD_SECONDS
Indicates the purge period of the ScheduledExecutorServices created by create(). |
| pack-priv static final String | |
| pack-priv static final AtomicReference |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ScheduledExecutorService | Returns: the ScheduledExecutorServicethe thread factory factory)Creates a ScheduledExecutorService with the given factory. |
| pack-priv static boolean | getBooleanProperty(boolean enabled, String key, boolean defaultNotFound, boolean defaultNotEnabled, Function<String, String> propertyAccessor)
|
| pack-priv static int | getIntProperty(boolean enabled, String key, int defaultNotFound, int defaultNotEnabled, Function<String, String> propertyAccessor)
|
| public static void | |
| public static void | |
| pack-priv static void | |
| pack-priv static void |
| POOLS | back to summary |
|---|---|
| pack-priv static final Map<ScheduledThreadPoolExecutor, Object> POOLS | |
| PURGE_ENABLED | back to summary |
|---|---|
| public static final boolean PURGE_ENABLED Indicates the periodic purging of the ScheduledExecutorService is enabled. | |
| PURGE_ENABLED_KEY | back to summary |
|---|---|
| pack-priv static final String PURGE_ENABLED_KEY | |
| PURGE_PERIOD_SECONDS | back to summary |
|---|---|
| public static final int PURGE_PERIOD_SECONDS Indicates the purge period of the ScheduledExecutorServices created by create(). | |
| PURGE_PERIOD_SECONDS_KEY | back to summary |
|---|---|
| pack-priv static final String PURGE_PERIOD_SECONDS_KEY | |
| PURGE_THREAD | back to summary |
|---|---|
| pack-priv static final AtomicReference<ScheduledExecutorService> PURGE_THREAD | |
| SchedulerPoolFactory | back to summary |
|---|---|
| private SchedulerPoolFactory() Utility class. | |
| create | back to summary |
|---|---|
| public static ScheduledExecutorService create(ThreadFactory factory) Creates a ScheduledExecutorService with the given factory.
| |
| getBooleanProperty | back to summary |
|---|---|
| pack-priv static boolean getBooleanProperty(boolean enabled, String key, boolean defaultNotFound, boolean defaultNotEnabled, Function<String, String> propertyAccessor) | |
| getIntProperty | back to summary |
|---|---|
| pack-priv static int getIntProperty(boolean enabled, String key, int defaultNotFound, int defaultNotEnabled, Function<String, String> propertyAccessor) | |
| shutdown | back to summary |
|---|---|
| public static void shutdown() Stops the purge thread. | |
| start | back to summary |
|---|---|
| public static void start() Starts the purge thread if not already started. | |
| tryPutIntoPool | back to summary |
|---|---|
| pack-priv static void tryPutIntoPool(boolean purgeEnabled, ScheduledExecutorService exec) | |
| tryStart | back to summary |
|---|---|
| pack-priv static void tryStart(boolean purgeEnabled) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| ScheduledTask | back to summary |
|---|---|
| pack-priv ScheduledTask() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | apply(String
the input value t)Implements io. |
| SystemPropertyAccessor | back to summary |
|---|---|
| pack-priv SystemPropertyAccessor() | |
| apply | back to summary |
|---|---|
| public String apply(String t) throws Exception Implements io. Doc from io. Apply some calculation to the input value and return some other value. | |