Examples of HistoryStore


Examples of org.jolokia.history.HistoryStore

        if (doDebug != null && Boolean.valueOf(doDebug)) {
            debug = true;
        }


        historyStore = new HistoryStore(maxEntries);
        debugStore = new DebugStore(maxDebugEntries,debug);

        try {
            localDispatcher.init(historyStore,debugStore);
        } catch (NotCompliantMBeanException e) {
View Full Code Here

Examples of org.jolokia.history.HistoryStore

    private void initMBeans(Configuration pConfig) {
        int maxEntries = pConfig.getAsInt(HISTORY_MAX_ENTRIES);
        int maxDebugEntries = pConfig.getAsInt(DEBUG_MAX_ENTRIES);


        historyStore = new HistoryStore(maxEntries);
        debugStore = new DebugStore(maxDebugEntries, pConfig.getAsBoolean(DEBUG));

        try {
            localDispatcher.initMBeans(historyStore, debugStore);
        } catch (NotCompliantMBeanException e) {
View Full Code Here

Examples of org.s3b.search.tools.HistoryStore

      //logger.info("END RUN: " + (6-counter));
    }
   
   
    /* adding all visited to the long term history */
    HistoryStore hist = HistoryStore.getInstance();
    hist.addVisits(m2resource.Visited);
    hist.addTerms(queryList, m2resource.person);
    //logger.info("SEMANTIC RUNS: " + (6 - counter));
    //logger.info("RESULTS SEMANTIC END2: " + rescount);
    //logger.info("LIST QUERY: ");
    String tempik="";
    /*
 
View Full Code Here

Examples of org.s3b.search.tools.HistoryStore

   */
  @SuppressWarnings("unchecked")
  private ResultObject weightResults(List<Visit> visits,
      Person person) {
    List<Visit> oldvisits = new ArrayList<Visit>();
    HistoryStore hist = HistoryStore.getInstance();
    hist.getVisits(person, oldvisits);
//    System.out.println("History boost: " + authorHitBoost);
     for(IndexResource result : resultObject.getResults()){
       if(!result.isRankComputed()){ //only weight those results that haven't been processed before
         findResultInHistory(result,oldvisits);
       }
     }
     Map<URI,Double> termsList = new HashMap<URI,Double>();
     termsList = hist.getTerms(person);
     URI res;
    
     for(QueryParameterEntry ex : queryList)
     {
       if(ex.isWordnetType())
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.