Examples of updateCache()


Examples of ch.blackspirit.graphics.Image.updateCache()

        renderer.drawImage(image, 512, 512);
      }
      public void init(View view, Graphics renderer) {
        view.setCamera(256, 256, 0);
        view.setSize(512, 512);
        image.updateCache();
      }
      public void sizeChanged(GraphicsContext graphicsContext, View view) {}
    });
   
    ColorGradientFactory gradient = new ColorGradientFactory();
View Full Code Here

Examples of ch.blackspirit.graphics.Image.updateCache()

        renderer.drawImage(image, 512, 512);
      }
      public void init(View view, Graphics renderer) {
        view.setCamera(256, 256, 0);
        view.setSize(512, 512);
        image.updateCache();
      }
      public void sizeChanged(GraphicsContext graphicsContext, View view) {}
    });
   
    ColorGradientFactory gradient = new ColorGradientFactory();
View Full Code Here

Examples of ch.blackspirit.graphics.Image.updateCache()

      public void init(View view, Graphics renderer) {
        System.out.println("init");
        view.setCamera(400, 300, 0);
        view.setSize(800, 600);
        gradient.updateCache();
      }
      public void sizeChanged(GraphicsContext graphicsContext, View view) {  }
     
    });
 
View Full Code Here

Examples of com.apps.datastore.NotifierDatastore.updateCache()

  public void doPost(HttpServletRequest req, HttpServletResponse resp) {
    NotifierDatastore d = new NotifierDatastore();
    String out = null;
    boolean update = true;
    try {
      d.updateCache();
    } catch (EntityNotFoundException e) {
      out = "Update cache failed: " + e.getMessage();
      update = false;
      e.printStackTrace();
    } finally {
View Full Code Here

Examples of com.cib.yym.homepage.common.CacheManager.updateCache()

      {
        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.dotmarketing.portlets.contentlet.business.HostAPI.updateCache()

          }

        Structure hostStructure = StructureCache.getStructureByVelocityVarName("Host");
        if ((contentlet != null) && InodeUtils.isSet(contentlet.getIdentifier()) && contentlet.getStructureInode().equals(hostStructure.getInode())) {
            HostAPI hostAPI = APILocator.getHostAPI();
            hostAPI.updateCache(new Host(contentlet));

            ContentletCache cc = CacheLocator.getContentletCache();
            Identifier ident=APILocator.getIdentifierAPI().find(contentlet);
            List<Contentlet> contentlets = findAllVersions(ident, sysuser, respectFrontendRoles);
            for (Contentlet c : contentlets) {
View Full Code Here

Examples of com.salesforce.phoenix.schema.MetaDataClient.updateCache()

        for (Map.Entry<TableRef, Map<ImmutableBytesPtr,Map<PColumn,byte[]>>> entry : mutations.entrySet()) {
            TableRef tableRef = entry.getKey();
            long serverTimeStamp = tableRef.getTimeStamp();
            PTable table = tableRef.getTable();
            if (!connection.getAutoCommit()) {
                MetaDataMutationResult result = client.updateCache(table.getSchemaName().getString(), table.getTableName().getString());
                long timestamp = result.getMutationTime();
                if (timestamp != QueryConstants.UNSET_TIMESTAMP) {
                    serverTimeStamp = timestamp;
                    if (result.wasUpdated()) {
                        // TODO: use bitset?
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.service.DataAccessSession.updateCache()

              if (!isSingleFail) {
                Pair<ErrorCode, String> pair = das.modifyData(data);

                if (pair.getFirst().equals(ErrorCode.success)) {
                  das.commitTranscation();
                  das.updateCache(DataAccessAction.delete, data.getId().getValue(), data);
                }else {
                  isSingleFail = true;
                  errorInfo = new ErrorInfo();
                  errorInfo.setErrorDescription("数据库操作失败!");
                  errorInfo.setErrorRowNum(j);
View Full Code Here

Examples of edu.isi.karma.modeling.ontology.OntologyManager.updateCache()

    File ff = new File(Params.ONTOLOGY_DIR);
    File[] files = ff.listFiles();
    for (File f : files) {
      ontologyManager.doImport(f, "UTF-8");
    }
    ontologyManager.updateCache()
   
    List<SemanticModel> semanticModels =
        ModelReader.importSemanticModelsFromJsonFiles(Params.MODEL_DIR, Params.MODEL_MAIN_FILE_EXT);

    String graphPath = Params.GRAPHS_DIR;
View Full Code Here

Examples of edu.isi.karma.modeling.ontology.OntologyManager.updateCache()

          f.getName().endsWith(".xml")) {
        logger.info("Loading ontology file: " + f.getAbsolutePath());
        ontologyManager.doImport(f, "UTF-8");
      }
    }
    ontologyManager.updateCache();


    String outputPath = Params.OUTPUT_DIR;
    String graphPath = Params.GRAPHS_DIR;
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.