Class GridCacheDatabaseSharedManager.NodeFileLockHolder

    • Constructor Detail

      • NodeFileLockHolder

        public NodeFileLockHolder​(String rootDir,
                                  @NotNull
                                  @NotNull GridKernalContext ctx,
                                  IgniteLogger log)
        Parameters:
        rootDir - Root directory for lock file.
        ctx - Kernal context.
        log - Log.
    • Method Detail

      • lockInfo

        public String lockInfo()
        This info will appear in error message of concurrent processes that will try to lock on the same file.
        Specified by:
        lockInfo in class FileLockHolder
        Returns:
        Lock info to store in the file.