Class NioFileManagerBuilder

All Implemented Interfaces:
BuilderCustomization<MappedStoreManager>, BinaryStoreManagerBuilder

public class NioFileManagerBuilder extends AbstractNioManagerBuilder<MappedStoreManager>
The NioFileManagerBuilder class builds an instance of a MappedStoreManager.
Since:
Coherence 12.1.2
Author:
pfm 2011.11.30
  • Constructor Details

    • NioFileManagerBuilder

      public NioFileManagerBuilder()
  • Method Details

    • realize

      public MappedStoreManager realize(ParameterResolver resolver, ClassLoader loader, boolean fPaged)
      Realize a BinaryStoreManager given the provided parameters.
      Parameters:
      resolver - the ParameterResolver for resolving expressions and runtime parameters
      loader - the ClassLoader for loading classes (if necessary)
      fPaged - the flag indicating whether the map is paged
      Returns:
      a BinaryStoreManager
    • getDirectory

      public String getDirectory(ParameterResolver resolver)
      Return the path name for the root directory that the manager uses to store files in. If not specified or specifies a non-existent directory, a temporary file in the default location is used.
      Parameters:
      resolver - the ParameterResolver
      Returns:
      the root directory
    • setDirectory

      @Injectable public void setDirectory(Expression<String> expr)
      Set the root directory where the manager stores files.
      Parameters:
      expr - the directory name