Class InternalOptionKey<T>

java.lang.Object
org.apache.sis.setup.OptionKey<T>
org.apache.sis.internal.storage.io.InternalOptionKey<T>
Type Parameters:
T - the type of option values.
All Implemented Interfaces:
Serializable

public final class InternalOptionKey<T> extends OptionKey<T>
StorageConnector options not part of public API. Some of those options may move to public API in the future if useful.
Since:
1.2
Version:
1.2
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • CHANNEL_FACTORY_WRAPPER

      public static final InternalOptionKey<UnaryOperator<ChannelFactory>> CHANNEL_FACTORY_WRAPPER
      Wraps readable or writable channels on creation. Wrappers can be used for example in order to listen to read events or for transforming bytes on the fly.
  • Constructor Details

    • InternalOptionKey

      public InternalOptionKey(String name, Class<T> type)
      Creates a new key of the given name.
      Parameters:
      name - the key name.
      type - the type of values.