1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_concurrent_Executors__
|
5 |
|
|
#define __java_util_concurrent_Executors__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace security
|
15 |
|
|
{
|
16 |
|
|
class PrivilegedAction;
|
17 |
|
|
class PrivilegedExceptionAction;
|
18 |
|
|
}
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
class java::util::concurrent::Executors : public ::java::lang::Object
|
23 |
|
|
{
|
24 |
|
|
|
25 |
|
|
public:
|
26 |
|
|
static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint);
|
27 |
|
|
static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
|
28 |
|
|
static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor();
|
29 |
|
|
static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor(::java::util::concurrent::ThreadFactory *);
|
30 |
|
|
static ::java::util::concurrent::ExecutorService * newCachedThreadPool();
|
31 |
|
|
static ::java::util::concurrent::ExecutorService * newCachedThreadPool(::java::util::concurrent::ThreadFactory *);
|
32 |
|
|
static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor();
|
33 |
|
|
static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor(::java::util::concurrent::ThreadFactory *);
|
34 |
|
|
static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint);
|
35 |
|
|
static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
|
36 |
|
|
static ::java::util::concurrent::ExecutorService * unconfigurableExecutorService(::java::util::concurrent::ExecutorService *);
|
37 |
|
|
static ::java::util::concurrent::ScheduledExecutorService * unconfigurableScheduledExecutorService(::java::util::concurrent::ScheduledExecutorService *);
|
38 |
|
|
static ::java::util::concurrent::ThreadFactory * defaultThreadFactory();
|
39 |
|
|
static ::java::util::concurrent::ThreadFactory * privilegedThreadFactory();
|
40 |
|
|
static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *, ::java::lang::Object *);
|
41 |
|
|
static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *);
|
42 |
|
|
static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedAction *);
|
43 |
|
|
static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedExceptionAction *);
|
44 |
|
|
static ::java::util::concurrent::Callable * privilegedCallable(::java::util::concurrent::Callable *);
|
45 |
|
|
static ::java::util::concurrent::Callable * privilegedCallableUsingCurrentClassLoader(::java::util::concurrent::Callable *);
|
46 |
|
|
private:
|
47 |
|
|
Executors();
|
48 |
|
|
public:
|
49 |
|
|
static ::java::lang::Class class$;
|
50 |
|
|
};
|
51 |
|
|
|
52 |
|
|
#endif // __java_util_concurrent_Executors__
|