Class FsSeedNodeProviderConfig

    • Constructor Detail

      • FsSeedNodeProviderConfig

        public FsSeedNodeProviderConfig()
    • Method Detail

      • getCleanupInterval

        public long getCleanupInterval()
        Returns the time interval in milliseconds between stale node cleanup runs (see setCleanupInterval(long)).
        Returns:
        Time interval in milliseconds.
      • setCleanupInterval

        public void setCleanupInterval​(long cleanupInterval)
        Sets the time interval in milliseconds between stale node cleanup runs.

        Default value of this parameter is 60000L.

        For more details please see the documentation of SeedNodeProvider.

        Parameters:
        cleanupInterval - Time interval in milliseconds.
        See Also:
        SeedNodeProvider.cleanupInterval()
      • getWorkDir

        public File getWorkDir()
        Returns the work directory for seed node provider to store its files (see setWorkDir(File)).
        Returns:
        Work directory.
      • setWorkDir

        public void setWorkDir​(File workDir)
        Sets the work directory for seed node provider to store its files. If directory doesn't exist then it will be automatically created during the seed node provider initialization.

        This parameter is mandatory and doesn't have a default value.

        Parameters:
        workDir - Work directory.