private boolean readCachedPubKeyEntry(ProcessResult procResult) {
        ObjectInputStream is;
        FileInputStream fis = null;
        EncryptConfigEntry entry;
        fileRw.readLock().lock();
        try {
            File file = new File(this.encryptConfigCacheFile);
            if (file.exists()) {
                long diffTime = System.currentTimeMillis() - file.lastModified();
                if (mgrConfig.getMetaCacheExpiredMs() > 0
                        && diffTime < mgrConfig.getMetaCacheExpiredMs()) {
                    fis = new FileInputStream(file);
                    is = new ObjectInputStream(fis);
                    entry = (EncryptConfigEntry) is.readObject();
                    // is.close();
                    fis.close();
                    return procResult.setSuccess(entry);
                }
                return procResult.setFailResult(ErrorCode.LOCAL_FILE_EXPIRED);
            } else {
                return procResult.setFailResult(ErrorCode.LOCAL_FILE_NOT_EXIST);
            }
        } catch (Throwable ex) {
            if (exptCounter.shouldPrint()) {
                logger.warn("ConfigManager({}) read({}) file exception, userName={}",
                        callerId, encryptConfigCacheFile, mgrConfig.getRptUserName(), ex);
            }
            return procResult.setFailResult(
                    ErrorCode.READ_LOCAL_FILE_FAILURE, "read PubKeyEntry file failure:" + ex.getMessage());
        } finally {
            if (fis != null) {
                try {
                    fis.close();
                } catch (Throwable e2) {
                    //
                }
            }
            fileRw.readLock().unlock();
        }
    }
try to read cache of proxy entry

@return read result
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/config/ProxyConfigManager.java