Class DefaultPmFilesProvider

java.lang.Object
com._1c.g5.v8.dt.internal.pm.connection.mmf.DefaultPmFilesProvider
All Implemented Interfaces:
PmTempFilesProvider, AutoCloseable
Direct Known Subclasses:
CreatingPmFilesProvider

public class DefaultPmFilesProvider extends Object implements PmTempFilesProvider
Provides temporary files for given directory. Does not creates them, so they created by CreatingPmFilesProvider in the other process (other side of IPC channel).
  • Field Details

    • dir

      protected final File dir
    • lockA

      protected final File lockA
    • lockB

      protected final File lockB
    • lockC

      protected final File lockC
    • dataBuffer

      protected final File dataBuffer
  • Constructor Details

    • DefaultPmFilesProvider

      public DefaultPmFilesProvider(File processRootDir, DefaultPmFilesProvider.DataDirection direction)
      Constructs new instance with given process root dir and data direction.
      Parameters:
      processRootDir - given process root dir (not null)
      direction - given data direction (not null)
    • DefaultPmFilesProvider

      protected DefaultPmFilesProvider(File dir)
      Constructs new instance which provides files located in given root directory.
      Parameters:
      dir - given root directory (not null)
  • Method Details