public class TimerService<T extends TimerService<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimerService.TimerServiceResources
Child mutators for TimerService
|
Constructor and Description |
---|
TimerService() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
databaseDataStore(DatabaseDataStore value)
Add the DatabaseDataStore object to the list of subresources
|
T |
databaseDataStore(DatabaseDataStoreSupplier supplier)
Install a supplied DatabaseDataStore object to the list of subresources
|
T |
databaseDataStore(String childKey)
Create and configure a DatabaseDataStore object to the list of
subresources
|
T |
databaseDataStore(String childKey,
DatabaseDataStoreConsumer consumer)
Create and configure a DatabaseDataStore object to the list of
subresources
|
T |
databaseDataStores(List<DatabaseDataStore> value)
Add all DatabaseDataStore objects to this subresource
|
String |
defaultDataStore()
The default data store used for persistent timers
|
T |
defaultDataStore(String value)
The default data store used for persistent timers
|
T |
fileDataStore(FileDataStore value)
Add the FileDataStore object to the list of subresources
|
T |
fileDataStore(FileDataStoreSupplier supplier)
Install a supplied FileDataStore object to the list of subresources
|
T |
fileDataStore(String childKey)
Create and configure a FileDataStore object to the list of subresources
|
T |
fileDataStore(String childKey,
FileDataStoreConsumer consumer)
Create and configure a FileDataStore object to the list of subresources
|
T |
fileDataStores(List<FileDataStore> value)
Add all FileDataStore objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
TimerService.TimerServiceResources |
subresources() |
String |
threadPoolName()
The name of the thread pool used to run timer service invocations
|
T |
threadPoolName(String value)
The name of the thread pool used to run timer service invocations
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public TimerService.TimerServiceResources subresources()
public T fileDataStores(List<FileDataStore> value)
value
- List of FileDataStore objects.public T fileDataStore(FileDataStore value)
value
- The FileDataStore to addpublic T fileDataStore(String childKey, FileDataStoreConsumer consumer)
key
- The key for the FileDataStore resourceconfig
- The FileDataStoreConsumer to usepublic T fileDataStore(String childKey)
key
- The key for the FileDataStore resourcepublic T fileDataStore(FileDataStoreSupplier supplier)
public T databaseDataStores(List<DatabaseDataStore> value)
value
- List of DatabaseDataStore objects.public T databaseDataStore(DatabaseDataStore value)
value
- The DatabaseDataStore to addpublic T databaseDataStore(String childKey, DatabaseDataStoreConsumer consumer)
key
- The key for the DatabaseDataStore resourceconfig
- The DatabaseDataStoreConsumer to usepublic T databaseDataStore(String childKey)
key
- The key for the DatabaseDataStore resourcepublic T databaseDataStore(DatabaseDataStoreSupplier supplier)
public String defaultDataStore()
public T defaultDataStore(String value)
public String threadPoolName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.