Examples of needsRefresh()


Examples of com.ardor3d.renderer.state.RenderState.needsRefresh()

            StatCollector.startStat(StatType.STAT_STATES_TIMER);
        }

        final RenderState tempState = getProperRenderState(type, state);
        final RenderContext context = ContextManager.getCurrentContext();
        if (!RenderState._quickCompare.contains(type) || tempState.needsRefresh()
                || tempState != context.getCurrentState(type)) {
            doApplyState(tempState);
            tempState.setNeedsRefresh(false);
        }
View Full Code Here

Examples of net.suberic.pooka.gui.MessageProxy.needsRefresh()

  for (int i = 0 ; i < messageProxies.size(); i++) {
    mp = (MessageProxy) messageProxies.get(i);
    try {
      if (! mp.isLoaded())
        mp.loadTableInfo();
      if (mp.needsRefresh()) {
        mp.refreshMessage();
      }
      else if (! mp.matchedFilters()) {
        mp.matchFilters();
      }
View Full Code Here

Examples of net.suberic.pooka.gui.MessageProxy.needsRefresh()

    // now load each individual messageproxy.
    // and refresh each message.
    try {
      if (! mp.isLoaded())
      mp.loadTableInfo();
      if (mp.needsRefresh())
        mp.refreshMessage();
      else if (! mp.matchedFilters()) {
        mp.matchFilters();
    }
    } catch (Exception e) {
View Full Code Here

Examples of net.suberic.pooka.gui.MessageProxy.needsRefresh()

        synchronized(folderInfo.getFolderThread().getRunLock()) {
    try {
      folderInfo.getFolderThread().setCurrentActionName("Loading messages.");
      if (! mp.isLoaded())
        mp.loadTableInfo();
      if (mp.needsRefresh())
        mp.refreshMessage();
      else if (! mp.matchedFilters()) {
        mp.matchFilters();
      }
    } finally {
View Full Code Here

Examples of org.apache.olio.webapp.cache.Cache.needsRefresh()

                    // get a new cacheable page/partial
                    cobj = createCachePageObject(queryMap, response, request, mf);
                    cl.put(index, cobj);


                    if (cache.needsRefresh(false, cacheKey)) {
                        cache.put(cacheKey, cl, CacheFactory.getInstance().getCacheExpireInSeconds());
                        cache.doneRefresh(cacheKey, CacheFactory.getInstance().getCacheLockExpireInSeconds());
                    }

                } else {
View Full Code Here

Examples of org.apache.olio.webapp.cache.Cache.needsRefresh()

                    // something in the cache
                    cobj = cl.get(index); // we are using this whatever

                    Object newCobj = createCachePageObject(queryMap, response, request, mf);
                    cl.put(index, newCobj); // replaces existing value
                     if (cache.needsRefresh(true, cacheKey)) {
                        cache.put(cacheKey, cl, CacheFactory.getInstance().getCacheExpireInSeconds());
                        cache.doneRefresh(cacheKey, CacheFactory.getInstance().getCacheLockExpireInSeconds());
                    }
                }
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.