Class MappedStoreManager

All Implemented Interfaces:
BinaryStoreManager

public class MappedStoreManager extends AbstractStoreManager
An implementation of BinaryStoreManager interface that uses BinaryMap objects built on the MappedBufferManager to provide BinaryStore objects.
Since:
Coherence 2.4
Author:
gg 2004.06.09
  • Constructor Details

    • MappedStoreManager

      public MappedStoreManager(int cbInitial, int cbMaximum, File dir)
      Construct a DirectStoreManager that uses BinaryMap objests built on the MappedBufferManager(s) with certain initial and maximum size.
      Parameters:
      cbInitial - the initial size of the managed buffers
      cbMaximum - the maximum size of the managed buffers
  • Method Details

    • getDirectory

      public File getDirectory()
      Obtain the directory to use for MappedBufferManager(s).
      Returns:
      the File object, or null if the default location is used
    • setDirectory

      public void setDirectory(File dir)
      Specify the directory to use for MappedBufferManager(s).
      Parameters:
      dir - the File object representing the directory, or null to use the default location
    • createBufferManager

      protected ByteBufferManager createBufferManager()
      Create a ByteBufferManager to be used by a BinaryStore.
      Specified by:
      createBufferManager in class AbstractStoreManager