Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_TimeLimitingCollector$TimerThread_H
#define org_apache_lucene_search_TimeLimitingCollector$TimerThread_H
#include "java/lang/Thread.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Counter;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
class TimeLimitingCollector$TimerThread : public ::java::lang::Thread {
public:
enum {
mid_init$_0d8777c4fcf653cc,
mid_init$_a8796b9cab95d45c,
mid_getMilliseconds_062ad918b5794303,
mid_getResolution_062ad918b5794303,
mid_run_d7775b228e076e62,
mid_setResolution_ea21977c7b14e0c0,
mid_stopTimer_d7775b228e076e62,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit TimeLimitingCollector$TimerThread(jobject obj) : ::java::lang::Thread(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
TimeLimitingCollector$TimerThread(const TimeLimitingCollector$TimerThread& obj) : ::java::lang::Thread(obj) {}
static jint DEFAULT_RESOLUTION;
static ::java::lang::String *THREAD_NAME;
TimeLimitingCollector$TimerThread(const ::org::apache::lucene::util::Counter &);
TimeLimitingCollector$TimerThread(jlong, const ::org::apache::lucene::util::Counter &);
jlong getMilliseconds() const;
jlong getResolution() const;
void run() const;
void setResolution(jlong) const;
void stopTimer() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
extern PyType_Def PY_TYPE_DEF(TimeLimitingCollector$TimerThread);
extern PyTypeObject *PY_TYPE(TimeLimitingCollector$TimerThread);
class t_TimeLimitingCollector$TimerThread {
public:
PyObject_HEAD
TimeLimitingCollector$TimerThread object;
static PyObject *wrap_Object(const TimeLimitingCollector$TimerThread&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif