Examples of CacheManager


Examples of blackberry.web.widget.caching.CacheManager

        // Create the CacheManager to handle caching functions.
        _cacheManager = null;
        if( _wConfig instanceof WidgetConfigImpl ) {
            WidgetConfigImpl wConfigImpl = (WidgetConfigImpl) _wConfig;
            if( wConfigImpl.isCacheEnabled() ) {
                _cacheManager = new CacheManager( wConfigImpl );
            }
            _widgetCacheExtension = new WidgetCacheNamespace( this );
        }

        if( DeviceInfo.isBlackBerry5() ) {
View Full Code Here

Examples of br.net.woodstock.rockframework.cache.CacheManager

  private Cache  cache;

  public AbstractBeanDescriptorFactory() {
    super();
    String id = ObjectUtils.toString(this);
    CacheManager cacheManager = CacheManagerImpl.getInstance();
    this.cache = cacheManager.create(id);
  }
View Full Code Here

Examples of br.net.woodstock.rockframework.core.cache.CacheManager

  private Cache  cache;

  public AbstractBeanDescriptorFactory() {
    super();
    String id = String.valueOf(this);
    CacheManager cacheManager = CacheManagerImpl.getInstance();
    this.cache = cacheManager.create(id);
  }
View Full Code Here

Examples of com.caucho.distcache.CacheManager

  //
  // caching
  //
  public static QuercusDistcache resin_create_distcache(Env env, String name)
  {
    CacheManager manager = CacheManager.createManager();

    return new QuercusDistcache(manager.create(name));
  }
View Full Code Here

Examples of com.cib.yym.homepage.common.CacheManager

      if (temp instanceof JSONObject)
      {
        accessToken = temp.optString("access_token");
        uid = temp.optString("uid");
       
        CacheManager cache = CacheManagerFactory.getCacheManager();           
              cache.updateCache(CacheManager.MAP_WEIBO_CONFIG, "accessToken", accessToken);
             
        //TODO
        /**
         * 表示Weibo用户认证成功
         * 1. 如果用户在系统中已经有关联的siteuser账号,则将其保存到session中,认为是已登录用户
View Full Code Here

Examples of com.google.gwt.dev.jdt.CacheManager

    this.genDir = genDir;
    this.outDir = moduleOutDir;
    if (cacheManager != null) {
      this.cacheManager = cacheManager;
    } else {
      this.cacheManager = new CacheManager(typeOracle);
    }
  }
View Full Code Here

Examples of com.sun.appserv.web.cache.CacheManager

     */
    public void contextInitialized(ServletContextEvent sce) {
        ServletContext context = sce.getServletContext();

        // see if a cache manager is already created and set in the context
        CacheManager cm = (CacheManager)context.getAttribute(CacheManager.CACHE_MANAGER_ATTR_NAME);

        // create a new cachemanager if one is not present and use it
        // to create a new cache
        if (cm == null)
            cm = new CacheManager();

        Cache cache = null;
        try {
            cache = cm.createCache();
        } catch (Exception ex) {}

        // set the cache as a context attribute
        if (cache != null)
            context.setAttribute(Constants.JSPTAG_CACHE_KEY, cache);
View Full Code Here

Examples of com.volantis.mcs.runtime.cache.CacheManager

     * which clears the renderedPageCache
     */
    protected void initVolantis() {
        Volantis volantis = ApplicationInternals.getVolantisBean(application);
        // allow the cache to be flushed from the volantis bean.
        volantis.setRenderedPageCacheManager(new CacheManager() {
            public void flushCache() {
                renderedPageCache.clear();
            }
        });
    }
View Full Code Here

Examples of de.sciss.io.CacheManager

      {
final int pri = Thread.currentThread().getPriority();
//System.out.println( "pri was " + pri );
Thread.currentThread().setPriority( pri - 2 );
        final int      minCoarse;
        final CacheManager  cm          = PrefCacheManager.getInstance();
        long        pos;
        // long framesWritten = 0;
        long        framesWrittenCache  = 0;
        boolean        cacheWriteComplete  = false;
        Span        tag2;
View Full Code Here

Examples of de.sciss.io.CacheManager

  protected File[] createCacheFileNames()
  {
    final AudioFile[] audioFiles = fullScale.getAudioFiles();
    if( (audioFiles.length == 0) || (audioFiles[0] == null) ) return null;

    final CacheManager cm = PrefCacheManager.getInstance();
    if( !cm.isActive() ) return null;

    final File[] f = new File[ audioFiles.length ];
    for( int i = 0; i < f.length; i++ ) {
      f[i] = cm.createCacheFileName( audioFiles[i].getFile() );
    }
    return f;
  }
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.