Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_MergeRateLimiter_H
#define org_apache_lucene_index_MergeRateLimiter_H
#include "org/apache/lucene/store/RateLimiter.h"
namespace org {
namespace apache {
namespace lucene {
namespace index {
class MergePolicy$MergeAbortedException;
class MergePolicy$OneMergeProgress;
}
}
}
}
namespace java {
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class MergeRateLimiter : public ::org::apache::lucene::store::RateLimiter {
public:
enum {
mid_init$_ad18c5c6bb245f18,
mid_getMBPerSec_ab5a92c6a29be348,
mid_getMinPauseCheckBytes_062ad918b5794303,
mid_getTotalBytesWritten_062ad918b5794303,
mid_getTotalPausedNS_062ad918b5794303,
mid_getTotalStoppedNS_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 MergeRateLimiter(jobject obj) : ::org::apache::lucene::store::RateLimiter(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
MergeRateLimiter(const MergeRateLimiter& obj) : ::org::apache::lucene::store::RateLimiter(obj) {}
MergeRateLimiter(const ::org::apache::lucene::index::MergePolicy$OneMergeProgress &);
jdouble getMBPerSec() const;
jlong getMinPauseCheckBytes() const;
jlong getTotalBytesWritten() const;
jlong getTotalPausedNS() const;
jlong getTotalStoppedNS() const;
jlong pause(jlong) const;
void setMBPerSec(jdouble) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(MergeRateLimiter);
extern PyTypeObject *PY_TYPE(MergeRateLimiter);
class t_MergeRateLimiter {
public:
PyObject_HEAD
MergeRateLimiter object;
static PyObject *wrap_Object(const MergeRateLimiter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif