Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_java_lang_System.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 
6 #ifndef xmog_java_lang_System_inc
7 #define xmog_java_lang_System_inc
8 
9 
10 #include "xmog_java.h"
11 
12 
23 class XMOG_DECLSPEC xmog_java_lang_System
24 {
25 public:
26 
35  static char * getProperty( const char * name, xmog_localenv * env = NULL );
36 
44  static void setProperty( const char * name, const char * value, xmog_localenv * env = NULL );
45 
51  static void gc( xmog_localenv * env = NULL );
52 
58  static jlong totalMemory( xmog_localenv * env = NULL );
59 
65  static jlong freeMemory( xmog_localenv * env = NULL );
66 
74  static jlong maxMemory( xmog_localenv * env = NULL );
75 
84  static jint availableProcessors( xmog_localenv * env = NULL );
85 };
86 
87 #endif /* xmog_java_lang_System_inc */
88 
xmog_localenv
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
xmog_java_lang_System
A utility class that exposes some system/runtime functions to C++.
Definition: xmog_java_lang_System.h:23

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.