org.wildfly.swarm.config

## Class IO<T extends IO<T>>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap
    - - org.wildfly.swarm.config.IO<T>

- All Implemented Interfaces:
    Serializable, Cloneable, Map
  Direct Known Subclasses:
    IOFraction

      public class IO<T extends IO<T>>
      extends HashMap

  IO subsystem
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `IO.IOResources` Child mutators for IO

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IO()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### IO

          public IO()

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### subresources

          public IO.IOResources subresources()

    - #### workers

          public T workers(List<Worker> value)

      Add all Worker objects to this subresource
      Parameters:
        `value` - List of Worker objects.
      Returns:
        this

    - #### worker

          public T worker(Worker value)

      Add the Worker object to the list of subresources
      Parameters:
        `value` - The Worker to add
      Returns:
        this

    - #### worker

          public T worker(String childKey,
                          WorkerConsumer consumer)

      Create and configure a Worker object to the list of subresources
      Parameters:
        `key` - The key for the Worker resource
        `config` - The WorkerConsumer to use
      Returns:
        this

    - #### worker

          public T worker(String childKey)

      Create and configure a Worker object to the list of subresources
      Parameters:
        `key` - The key for the Worker resource
      Returns:
        this

    - #### worker

          public T worker(WorkerSupplier supplier)

      Install a supplied Worker object to the list of subresources

    - #### bufferPools

          public T bufferPools(List<BufferPool> value)

      Add all BufferPool objects to this subresource
      Parameters:
        `value` - List of BufferPool objects.
      Returns:
        this

    - #### bufferPool

          public T bufferPool(BufferPool value)

      Add the BufferPool object to the list of subresources
      Parameters:
        `value` - The BufferPool to add
      Returns:
        this

    - #### bufferPool

          public T bufferPool(String childKey,
                              BufferPoolConsumer consumer)

      Create and configure a BufferPool object to the list of subresources
      Parameters:
        `key` - The key for the BufferPool resource
        `config` - The BufferPoolConsumer to use
      Returns:
        this

    - #### bufferPool

          public T bufferPool(String childKey)

      Create and configure a BufferPool object to the list of subresources
      Parameters:
        `key` - The key for the BufferPool resource
      Returns:
        this

    - #### bufferPool

          public T bufferPool(BufferPoolSupplier supplier)

      Install a supplied BufferPool object to the list of subresources

Copyright © 2017 JBoss by Red Hat. All rights reserved.