Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / search / LRUQueryCache.h
Size: Mime:
#ifndef org_apache_lucene_search_LRUQueryCache_H
#define org_apache_lucene_search_LRUQueryCache_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace util {
    class Collection;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class Accountable;
      }
      namespace search {
        class Weight;
        class QueryCache;
        class QueryCachingPolicy;
        class Query;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {

        class LRUQueryCache : public ::java::lang::Object {
         public:
          enum {
            mid_init$_e7822e9c668e5510,
            mid_clear_d7775b228e076e62,
            mid_clearCoreCacheKey_1d5023a3552b584b,
            mid_clearQuery_760a83e711e9c8ec,
            mid_doCache_6d29de8ea84df711,
            mid_getCacheCount_062ad918b5794303,
            mid_getCacheSize_062ad918b5794303,
            mid_getChildResources_928c43133c03833e,
            mid_getEvictionCount_062ad918b5794303,
            mid_getHitCount_062ad918b5794303,
            mid_getMissCount_062ad918b5794303,
            mid_getTotalCount_062ad918b5794303,
            mid_ramBytesUsed_062ad918b5794303,
            mid_onMiss_d38336011ad54c35,
            mid_onHit_d38336011ad54c35,
            mid_onClear_d7775b228e076e62,
            mid_cacheImpl_4cf733f677fdd148,
            mid_onQueryCache_dbe37a7b0bf1a33d,
            mid_onDocIdSetEviction_6cbb3a510ad633c3,
            mid_onQueryEviction_dbe37a7b0bf1a33d,
            mid_onDocIdSetCache_34f558a89f085529,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit LRUQueryCache(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          LRUQueryCache(const LRUQueryCache& obj) : ::java::lang::Object(obj) {}

          LRUQueryCache(jint, jlong);

          void clear() const;
          void clearCoreCacheKey(const ::java::lang::Object &) const;
          void clearQuery(const ::org::apache::lucene::search::Query &) const;
          ::org::apache::lucene::search::Weight doCache(const ::org::apache::lucene::search::Weight &, const ::org::apache::lucene::search::QueryCachingPolicy &) const;
          jlong getCacheCount() const;
          jlong getCacheSize() const;
          ::java::util::Collection getChildResources() const;
          jlong getEvictionCount() const;
          jlong getHitCount() const;
          jlong getMissCount() const;
          jlong getTotalCount() const;
          jlong ramBytesUsed() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        extern PyType_Def PY_TYPE_DEF(LRUQueryCache);
        extern PyTypeObject *PY_TYPE(LRUQueryCache);

        class t_LRUQueryCache {
        public:
          PyObject_HEAD
          LRUQueryCache object;
          static PyObject *wrap_Object(const LRUQueryCache&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif