Class AbstractNioManagerBuilder<T>

java.lang.Object
com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder<T>
com.tangosol.coherence.config.builder.storemanager.AbstractNioManagerBuilder<T>
All Implemented Interfaces:
BuilderCustomization<T>, BinaryStoreManagerBuilder
Direct Known Subclasses:
NioFileManagerBuilder

public abstract class AbstractNioManagerBuilder<T> extends AbstractStoreManagerBuilder<T>
The AbstractNioManagerBuilder class is an abstract class used to build an NIO file manager or an NIO memory manager.
Since:
Coherence 12.1.2
Author:
pfm 2011.11.30
  • Constructor Details

    • AbstractNioManagerBuilder

      public AbstractNioManagerBuilder()
  • Method Details

    • getInitialSize

      public long getInitialSize(ParameterResolver resolver)
      Return the initial buffer size in bytes.
      Parameters:
      resolver - the ParameterResolver
      Returns:
      the initial buffer size in bytes
    • setInitialSize

      @Injectable public void setInitialSize(Expression<Megabytes> expr)
      Set the initial buffer size.
      Parameters:
      expr - the initial buffer size
    • getMaximumSize

      public long getMaximumSize(ParameterResolver resolver)
      Return the maximum buffer size in bytes.
      Parameters:
      resolver - the ParameterResolver
      Returns:
      the maximum buffer size in bytes
    • setMaximumSize

      @Injectable public void setMaximumSize(Expression<Megabytes> expr)
      Set the maximum buffer size.
      Parameters:
      expr - the maximum buffer size
    • validate

      protected void validate(ParameterResolver resolver)
      Validate the builder.
      Overrides:
      validate in class AbstractStoreManagerBuilder<T>
      Parameters:
      resolver - the ParameterResolver