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 / store / RateLimiter$SimpleRateLimiter.h
Size: Mime:
#ifndef org_apache_lucene_store_RateLimiter$SimpleRateLimiter_H
#define org_apache_lucene_store_RateLimiter$SimpleRateLimiter_H

#include "org/apache/lucene/store/RateLimiter.h"

namespace java {
  namespace lang {
    class Class;
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {

        class RateLimiter$SimpleRateLimiter : public ::org::apache::lucene::store::RateLimiter {
         public:
          enum {
            mid_init$_d9bf1edd64186607,
            mid_getMBPerSec_ab5a92c6a29be348,
            mid_getMinPauseCheckBytes_062ad918b5794303,
            mid_pause_287a2baadd48f056,
            mid_setMBPerSec_d9bf1edd64186607,
            max_mid
          };

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

          explicit RateLimiter$SimpleRateLimiter(jobject obj) : ::org::apache::lucene::store::RateLimiter(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          RateLimiter$SimpleRateLimiter(const RateLimiter$SimpleRateLimiter& obj) : ::org::apache::lucene::store::RateLimiter(obj) {}

          RateLimiter$SimpleRateLimiter(jdouble);

          jdouble getMBPerSec() const;
          jlong getMinPauseCheckBytes() const;
          jlong pause(jlong) const;
          void setMBPerSec(jdouble) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(RateLimiter$SimpleRateLimiter);
        extern PyTypeObject *PY_TYPE(RateLimiter$SimpleRateLimiter);

        class t_RateLimiter$SimpleRateLimiter {
        public:
          PyObject_HEAD
          RateLimiter$SimpleRateLimiter object;
          static PyObject *wrap_Object(const RateLimiter$SimpleRateLimiter&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif