Examples of clearCache()


Examples of com.alibaba.wasp.meta.TableSchemaCacheReader.clearCache()

    DruidDMLParser dmlParser = new DruidDMLParser(conf, null);
    druidParser = new WaspParser(ddlParser, dqlParser, dmlParser);
    MemFMetaStore fmetaServices = new MemFMetaStore();
    TableSchemaCacheReader reader = TableSchemaCacheReader.getInstance(conf,
        fmetaServices);
    reader.clearCache();
    context.setTsr(reader);
    // create table
    String createTable = DruidParserTestUtil.SEED[0];
    context.setSql(createTable);
    druidParser.generatePlan(context);
View Full Code Here

Examples of com.alibaba.wasp.meta.TableSchemaCacheReader.clearCache()

    DruidDQLParser dqlParser = new DruidDQLParser(conf);
    DruidDDLParser ddlParser = new DruidDDLParser(conf);
    DruidDMLParser dmlParser = new DruidDMLParser(conf);
    druidParser = new WaspParser(ddlParser, dqlParser, dmlParser);
    TableSchemaCacheReader reader = TableSchemaCacheReader.getInstance(conf);
    reader.clearCache();
    context.setTsr(reader);
    // create table
    table = new FTable[DruidParserTestUtil.SEED.length];
    for (int i = 0; i < DruidParserTestUtil.SEED.length; i++) {
      String createTable = DruidParserTestUtil.SEED[i];
View Full Code Here

Examples of com.caucho.server.cluster.Server.clearCache()

  public void clearCache()
  {
    Server server = _server;

    if (server != null)
      server.clearCache();
  }

  public void clearCacheByPattern(String hostRegexp, String urlRegexp)
  {
    Server server = _server;
View Full Code Here

Examples of com.dotmarketing.business.PermissionAPI.clearCache()

  public void execute(JobExecutionContext jobContext) throws JobExecutionException {
   
    JobDataMap map = jobContext.getJobDetail().getJobDataMap();

    PermissionAPI permissionAPI = APILocator.getPermissionAPI();
    permissionAPI.clearCache();
    String permissionableId = (String) map.get("permissionableId");
    String roleId = (String) map.get("roleId");
    try {
      RoleAPI roleAPI = APILocator.getRoleAPI();
      Permissionable permissionable = (Permissionable) retrievePermissionable(permissionableId);
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.clearCache()

    } catch (SQLException ex1) {
      ex1.printStackTrace();
      this.setEchoValue(ex1.getMessage());
      return NO_FORWARD;
    } finally {
      updateService.clearCache();
      try {
        insertService.getBo().getDataBase().ifCloseConnection(con);
      } catch (SQLException ex1) {
        ex1.printStackTrace();
        this.setEchoValue(ex1.getMessage());
View Full Code Here

Examples of com.impetus.kundera.cache.ElementCollectionCacheManager.clearCache()

                                                obj, (Field) attribute.getJavaMember()));
                                    }
                                }
                            }
                            // Clear embedded collection cache for GC
                            ecCacheHandler.clearCache();
                        }
                    }
                    else
                    {
View Full Code Here

Examples of com.twosigma.beaker.jvm.classloader.DynamicClassLoader.clearCache()

            javaSourceCode.append("}\n");
            javaSourceCode.append("}\n");
       
            compilationUnit.addJavaSource(pname+".Foo", javaSourceCode.toString());
 
            loader.clearCache();
            javaSourceCompiler.compile(compilationUnit);
            javaSourceCompiler.persistCompiledClasses(compilationUnit);
            Class<?> fooClass = loader.loadClass(pname+".Foo");
            Method mth = fooClass.getDeclaredMethod("beakerRun", (Class[]) null);
            Object o = mth.invoke(null, (Object[])null);
View Full Code Here

Examples of de.innovationgate.webgate.api.auth.AuthenticationModule.clearCache()

        AuthenticationModule mod = getAuthModule();
        if (mod == null) {
            return;
        }
       
        mod.clearCache();

    }

    public void destroy() {
       
View Full Code Here

Examples of de.iritgo.aktera.configuration.preferences.PreferencesManager.clearCache()

          //          DefaultContext dc = (DefaultContext) req.getContext ();
          //          dc.put (UserEnvironment.CONTEXT_KEY, null);
          PreferencesManager preferencesManager = (PreferencesManager) SpringTools
                  .getBean(PreferencesManager.ID);

          preferencesManager.clearCache(uid);
        }
      }
    }
    catch (ContextException e)
    {
View Full Code Here

Examples of groovy.lang.GroovyClassLoader.clearCache()

        {
            cubeList.clear();
            for (Map.Entry<String, GroovyClassLoader> entry : urlClassLoaders.entrySet())
            {
                GroovyClassLoader classLoader = entry.getValue();
                classLoader.clearCache();
            }
            GroovyBase.compiledClasses.clear();
            advices.clear();
        }
    }
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.