1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_concurrent_AbstractExecutorService__
|
5 |
|
|
#define __java_util_concurrent_AbstractExecutorService__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
|
11 |
|
|
class java::util::concurrent::AbstractExecutorService : public ::java::lang::Object
|
12 |
|
|
{
|
13 |
|
|
|
14 |
|
|
public:
|
15 |
|
|
AbstractExecutorService();
|
16 |
|
|
public: // actually protected
|
17 |
|
|
virtual ::java::util::concurrent::RunnableFuture * newTaskFor(::java::lang::Runnable *, ::java::lang::Object *);
|
18 |
|
|
virtual ::java::util::concurrent::RunnableFuture * newTaskFor(::java::util::concurrent::Callable *);
|
19 |
|
|
public:
|
20 |
|
|
virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *);
|
21 |
|
|
virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *);
|
22 |
|
|
virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *);
|
23 |
|
|
private:
|
24 |
|
|
::java::lang::Object * doInvokeAny(::java::util::Collection *, jboolean, jlong);
|
25 |
|
|
public:
|
26 |
|
|
virtual ::java::lang::Object * invokeAny(::java::util::Collection *);
|
27 |
|
|
virtual ::java::lang::Object * invokeAny(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
|
28 |
|
|
virtual ::java::util::List * invokeAll(::java::util::Collection *);
|
29 |
|
|
virtual ::java::util::List * invokeAll(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
|
30 |
|
|
virtual void shutdown() = 0;
|
31 |
|
|
virtual ::java::util::List * shutdownNow() = 0;
|
32 |
|
|
virtual jboolean isShutdown() = 0;
|
33 |
|
|
virtual jboolean isTerminated() = 0;
|
34 |
|
|
virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *) = 0;
|
35 |
|
|
virtual void execute(::java::lang::Runnable *) = 0;
|
36 |
|
|
public: // actually package-private
|
37 |
|
|
static jboolean $assertionsDisabled;
|
38 |
|
|
public:
|
39 |
|
|
static ::java::lang::Class class$;
|
40 |
|
|
};
|
41 |
|
|
|
42 |
|
|
#endif // __java_util_concurrent_AbstractExecutorService__
|