Examples of useCache()


Examples of org.apache.fop.fonts.FontManager.useCache()

            FontInfoConfigurator fontInfoConfigurator
                = new FontInfoConfigurator(cfg, fontManager, fontResolver, listener, strict);
            List/*<EmbedFontInfo>*/ fontInfoList = new java.util.ArrayList/*<EmbedFontInfo>*/();
            fontInfoConfigurator.configure(fontInfoList);

            if (fontManager.useCache()) {
                fontManager.getFontCache().save();
            }
            FontSetup.setup(fontInfo, fontInfoList, fontResolver);
        } else {
            FontSetup.setup(fontInfo);
View Full Code Here

Examples of org.apache.ibatis.annotations.Options.useCache()

        keyGenerator = new NoKeyGenerator();
      }
     
      if (options != null) {
        flushCache = options.flushCache();
        useCache = options.useCache();
        fetchSize = options.fetchSize() > -1 ? options.fetchSize() : null;
        timeout = options.timeout() > -1 ? options.timeout() : null;
        statementType = options.statementType();
        resultSetType = options.resultSetType();
      }
View Full Code Here

Examples of org.apache.ibatis.annotations.Options.useCache()

        keyGenerator = new NoKeyGenerator();
      }

      if (options != null) {
        flushCache = options.flushCache();
        useCache = options.useCache();
        fetchSize = options.fetchSize() > -1 ? options.fetchSize() : null;
        timeout = options.timeout() > -1 ? options.timeout() : null;
        statementType = options.statementType();
        resultSetType = options.resultSetType();
      }
View Full Code Here

Examples of org.apache.ibatis.annotations.Options.useCache()

        keyGenerator = new NoKeyGenerator();
      }

      if (options != null) {
        flushCache = options.flushCache();
        useCache = options.useCache();
        fetchSize = options.fetchSize() > -1 || options.fetchSize() == Integer.MIN_VALUE ? options.fetchSize() : null; //issue #348
        timeout = options.timeout() > -1 ? options.timeout() : null;
        statementType = options.statementType();
        resultSetType = options.resultSetType();
      }
View Full Code Here

Examples of org.apache.ibatis.mapping.MappedStatement.Builder.useCache()

    builder.resultSetType(ms.getResultSetType());
     
    //setStatementCache()
    builder.cache(ms.getCache());
    builder.flushCacheRequired(ms.isFlushCacheRequired());
    builder.useCache(ms.isUseCache());
   
    return builder.build();
  }

  public Object plugin(Object target) {
View Full Code Here

Examples of org.apache.ibatis.mapping.MappedStatement.Builder.useCache()

    builder.timeout(ms.getTimeout());
    builder.statementType(ms.getStatementType());
    builder.resultSetType(ms.getResultSetType());
    builder.cache(ms.getCache());
    builder.flushCacheRequired(ms.isFlushCacheRequired());
    builder.useCache(ms.isUseCache());
    builder.keyGenerator(ms.getKeyGenerator());
    builder.keyProperty(delimitedArraytoString(ms.getKeyProperties()));
    builder.keyColumn(delimitedArraytoString(ms.getKeyColumns()));
    builder.databaseId(ms.getDatabaseId());
View Full Code Here

Examples of org.apache.ibatis.mapping.MappedStatement.Builder.useCache()

    builder.resultSetType(ms.getResultSetType());
     
    //setStatementCache()
    builder.cache(ms.getCache());
    builder.flushCacheRequired(ms.isFlushCacheRequired());
    builder.useCache(ms.isUseCache());
   
    return builder.build();
  }

  public Object plugin(Object target) {
View Full Code Here

Examples of org.apache.ibatis.mapping.MappedStatement.Builder.useCache()

    builder.resultSetType(ms.getResultSetType());
     
    //setStatementCache()
    builder.cache(ms.getCache());
    builder.flushCacheRequired(ms.isFlushCacheRequired());
    builder.useCache(ms.isUseCache());
   
    return builder.build();
  }

  public Object plugin(Object target) {
View Full Code Here

Examples of org.gradle.cache.PersistentCache.useCache()

        // Otherwise, just to a regular build
        final PersistentCache buildSrcCache = createCache(startParameter);
        try {
            GradleLauncher gradleLauncher = buildGradleLauncher(startParameter);
            try {
                return buildSrcCache.useCache("rebuild buildSrc", new BuildSrcUpdateFactory(buildSrcCache, gradleLauncher, new BuildSrcBuildListenerFactory()));
            } finally {
                gradleLauncher.stop();
            }
        } finally {
            // This isn't quite right. We should not unlock the classes until we're finished with them, and the classes may be used across multiple builds
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.