Class FileBackedOutputStreamFactory

java.lang.Object
org.opendaylight.controller.cluster.io.FileBackedOutputStreamFactory

public class FileBackedOutputStreamFactory extends Object
A factory for creating FileBackedOutputStream instances.
Author:
Thomas Pantelis
See Also:
  • Constructor Details

    • FileBackedOutputStreamFactory

      public FileBackedOutputStreamFactory(int fileThreshold, @Nullable String fileDirectory)
      Constructor.
      Parameters:
      fileThreshold - the number of bytes before streams should switch to buffering to a file
      fileDirectory - the directory in which to create files if needed. If null, the default temp file location is used.
  • Method Details