summaryrefslogtreecommitdiff
path: root/libjava/java/util/Timer.h
blob: 2246cfd305422c87cc1dba86b7c313a99c22257c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_Timer__
#define __java_util_Timer__

#pragma interface

#include <java/lang/Object.h>

class java::util::Timer : public ::java::lang::Object
{

public:
  Timer();
  Timer(jboolean);
  Timer(::java::lang::String *);
  Timer(::java::lang::String *, jboolean);
private:
  Timer(jboolean, jint);
  Timer(jboolean, jint, ::java::lang::String *);
public:
  virtual void cancel();
private:
  void schedule(::java::util::TimerTask *, jlong, jlong, jboolean);
  static void positiveDelay(jlong);
  static void positivePeriod(jlong);
public:
  virtual void schedule(::java::util::TimerTask *, ::java::util::Date *);
  virtual void schedule(::java::util::TimerTask *, ::java::util::Date *, jlong);
  virtual void schedule(::java::util::TimerTask *, jlong);
  virtual void schedule(::java::util::TimerTask *, jlong, jlong);
  virtual void scheduleAtFixedRate(::java::util::TimerTask *, ::java::util::Date *, jlong);
  virtual void scheduleAtFixedRate(::java::util::TimerTask *, jlong, jlong);
public: // actually protected
  virtual void finalize();
public:
  virtual jint purge();
private:
  static jint nr;
  ::java::util::Timer$TaskQueue * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queue;
  ::java::util::Timer$Scheduler * scheduler;
  ::java::lang::Thread * thread;
  jboolean canceled;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_Timer__