summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/Executors.h
blob: 8e6a428a11b049d16fee85574d1b6988136e1213 (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
50
51
52
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_Executors__
#define __java_util_concurrent_Executors__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace security
    {
        class PrivilegedAction;
        class PrivilegedExceptionAction;
    }
  }
}

class java::util::concurrent::Executors : public ::java::lang::Object
{

public:
  static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint);
  static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
  static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor();
  static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor(::java::util::concurrent::ThreadFactory *);
  static ::java::util::concurrent::ExecutorService * newCachedThreadPool();
  static ::java::util::concurrent::ExecutorService * newCachedThreadPool(::java::util::concurrent::ThreadFactory *);
  static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor();
  static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor(::java::util::concurrent::ThreadFactory *);
  static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint);
  static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
  static ::java::util::concurrent::ExecutorService * unconfigurableExecutorService(::java::util::concurrent::ExecutorService *);
  static ::java::util::concurrent::ScheduledExecutorService * unconfigurableScheduledExecutorService(::java::util::concurrent::ScheduledExecutorService *);
  static ::java::util::concurrent::ThreadFactory * defaultThreadFactory();
  static ::java::util::concurrent::ThreadFactory * privilegedThreadFactory();
  static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *, ::java::lang::Object *);
  static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *);
  static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedAction *);
  static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedExceptionAction *);
  static ::java::util::concurrent::Callable * privilegedCallable(::java::util::concurrent::Callable *);
  static ::java::util::concurrent::Callable * privilegedCallableUsingCurrentClassLoader(::java::util::concurrent::Callable *);
private:
  Executors();
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_Executors__