Class AbstractBackend

    • Constructor Detail

      • AbstractBackend

        public AbstractBackend()
    • Method Detail

      • getAsyncWritePoolSize

        public int getAsyncWritePoolSize()
        Returns the pool size of the asynchronous write pool executor.
        Returns:
        the pool size of the asynchronous write pool executor
      • setAsyncWritePoolSize

        public void setAsyncWritePoolSize​(int asyncWritePoolSize)
        Sets the pool size of the asynchronous write pool executor.
        Parameters:
        asyncWritePoolSize - pool size of the async write pool executor
      • getHomeDir

        protected String getHomeDir()
        Returns path of repository home dir.
        Returns:
        path of repository home dir
      • setHomeDir

        protected void setHomeDir​(String homeDir)
        Sets path of repository home dir.
        Parameters:
        homeDir - path of repository home dir
      • getConfig

        protected String getConfig()
        Returns path of config property file.
        Returns:
        path of config property file
      • setConfig

        protected void setConfig​(String config)
        Sets path of config property file.
        Parameters:
        config - path of config property file
      • getAsyncWriteExecutor

        protected Executor getAsyncWriteExecutor()
        Returns Executor used to execute asynchronous write or touch jobs.
        Returns:
        Executor used to execute asynchronous write or touch jobs
      • createAsyncWriteExecutor

        protected Executor createAsyncWriteExecutor()
        Creates an Executor. This method is invoked during the initialization for asynchronous write/touch job executions.
        Returns:
        an Executor