public class IO<T extends IO<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IO.IOResources
Child mutators for IO
|
Constructor and Description |
---|
IO() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
bufferPool(BufferPool value)
Add the BufferPool object to the list of subresources
|
T |
bufferPool(BufferPoolSupplier supplier)
Install a supplied BufferPool object to the list of subresources
|
T |
bufferPool(String childKey)
Create and configure a BufferPool object to the list of subresources
|
T |
bufferPool(String childKey,
BufferPoolConsumer consumer)
Create and configure a BufferPool object to the list of subresources
|
T |
bufferPools(List<BufferPool> value)
Add all BufferPool objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
IO.IOResources |
subresources() |
T |
worker(String childKey)
Create and configure a Worker object to the list of subresources
|
T |
worker(String childKey,
WorkerConsumer consumer)
Create and configure a Worker object to the list of subresources
|
T |
worker(Worker value)
Add the Worker object to the list of subresources
|
T |
worker(WorkerSupplier supplier)
Install a supplied Worker object to the list of subresources
|
T |
workers(List<Worker> value)
Add all Worker objects to this subresource
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public IO.IOResources subresources()
public T workers(List<Worker> value)
value
- List of Worker objects.public T worker(Worker value)
value
- The Worker to addpublic T worker(String childKey, WorkerConsumer consumer)
key
- The key for the Worker resourceconfig
- The WorkerConsumer to usepublic T worker(String childKey)
key
- The key for the Worker resourcepublic T worker(WorkerSupplier supplier)
public T bufferPools(List<BufferPool> value)
value
- List of BufferPool objects.public T bufferPool(BufferPool value)
value
- The BufferPool to addpublic T bufferPool(String childKey, BufferPoolConsumer consumer)
key
- The key for the BufferPool resourceconfig
- The BufferPoolConsumer to usepublic T bufferPool(String childKey)
key
- The key for the BufferPool resourcepublic T bufferPool(BufferPoolSupplier supplier)
Copyright © 2019 JBoss by Red Hat. All rights reserved.