Package org.eclipse.rdf4j.common.transaction

## Interface TransactionSettingFactory

- All Known Implementing Classes:
    `PerformanceHintFactory`, `ValidationApproachFactory`

      public interface TransactionSettingFactory

  A TransactionSettingFactory returns a `TransactionSetting` implementation for a given value.
  Since:
    3.3.0
  Author:
    Jeen Broekstra
  See Also:
    `TransactionSettingRegistry`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getName()` | Name of `TransactionSetting` this factory produces
    `Optional<TransactionSetting>` | `getTransactionSetting​(String value)` | Retrieve a `TransactionSetting` with the supplied value.

- - ### Method Detail

    - #### getName

          String getName()

      Name of `TransactionSetting` this factory produces
      Returns:
        the name of the `TransactionSetting` produced by this factory

    - #### getTransactionSetting

          Optional<TransactionSetting> getTransactionSetting​(String value)

      Retrieve a `TransactionSetting` with the supplied value.
      Parameters:
        `value` - the `TransactionSetting` value
      Returns:
        an optional `TransactionSetting`, empty if the factory can not produce one for the given value.