src/main/java/org/edgegallery/appstore/interfaces/apackage/facade/PackageServiceFacade.java
public void scheduledDeletePackage() {
        LOGGER.info("Start schedule delete temp file path {}", packageDir);
        List<File> files = searchTempFiles(new File(packageDir), TEMP_EXPIRE_PREFIX);
        LOGGER.info("schedule find temp file count is {}", files.size());
        for (File tempFile : files) {
            long expireTime = getExpirTime(tempFile);
            if (expireTime >= CLEAN_ENV_WAIT_TIME) {
                LOGGER.info("Start schedule delete temp file is {}", tempFile);
                FileUtils.deleteQuietly(tempFile);
            }
        }
        LOGGER.info("End schedule delete temp file.");
    }
/**
     * schedule delete compressed temporary directory files.
     */
schedule delete compressed temporary directory files.
schedule delete compressed temporary directory files .
public void scheduledDeletePackage() {
        LOGGER.info("Start schedule delete temp file path {}", packageDir);
        List<File> files = searchTempFiles(new File(packageDir), TEMP_EXPIRE_PREFIX);
        LOGGER.info("schedule find temp file count is {}", files.size());
        for (File tempFile : files) {
            long expireTime = getExpirTime(tempFile);
            if (expireTime >= CLEAN_ENV_WAIT_TIME) {
                LOGGER.info("Start schedule delete temp file is {}", tempFile);
                FileUtils.deleteQuietly(tempFile);
            }
        }
        LOGGER.info("End schedule delete temp file.");
    }
public void scheduledDeletePackage ( ) { LOGGER . info ( "Start schedule delete temp file path {}" , packageDir ) ; List < File > files = searchTempFiles ( new File ( packageDir ) , TEMP_EXPIRE_PREFIX ) ; LOGGER . info ( "schedule find temp file count is {}" , files . size ( ) ) ; for ( File tempFile : files ) { long expireTime = getExpirTime ( tempFile ) ; if ( expireTime >= CLEAN_ENV_WAIT_TIME ) { LOGGER . info ( "Start schedule delete temp file is {}" , tempFile ) ; FileUtils . deleteQuietly ( tempFile ) ; } } LOGGER . info ( "End schedule delete temp file." ) ; }
schedule delete compressed temporary directory files.
schedule delete compressed temporary directory files .