Interface Self<S extends Self<S>>

All Known Subinterfaces:
CounterConfigurationBuilder<T,S>, ProtocolServerConfigurationChildBuilder<T,S>, StoreConfigurationBuilder<T,S>
All Known Implementing Classes:
AbstractJdbcStoreConfigurationBuilder, AbstractProtocolServerConfigurationChildBuilder, AbstractSchemaJdbcConfigurationBuilder, AbstractStoreConfigurationBuilder, AuthenticationConfigurationBuilder, ClusterLoaderConfigurationBuilder, CustomStoreConfigurationBuilder, HotRodServerConfigurationBuilder, IpFilterConfigurationBuilder, JdbcStringBasedStoreConfigurationBuilder, JdbcStringBasedStoreConfigurationBuilder.StringTableManipulationConfigurationBuilder, MemcachedServerConfigurationBuilder, ProtocolServerConfigurationBuilder, QueriesJdbcStoreConfigurationBuilder, RemoteStoreConfigurationBuilder, RestServerConfigurationBuilder, RocksDBStoreConfigurationBuilder, SFSToSIFSConfigurationBuilder, SingleFileStoreConfigurationBuilder, SoftIndexFileStoreConfigurationBuilder, SslConfigurationBuilder, StrongCounterConfigurationBuilder, TableJdbcStoreConfigurationBuilder, TableManipulationConfigurationBuilder, WeakCounterConfigurationBuilder

public interface Self<S extends Self<S>>
This interface simplifies the task of writing fluent builders which need to inherit from other builders (abstract or concrete). It overcomes Java's limitation of not being able to return an instance of a class narrowed to the class itself. It should be used by all Builder classes which require inheritance.
Since:
5.2
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • self

      S self()