13import java.util.concurrent.ExecutorService;
14import java.util.concurrent.Executors;
15import java.util.concurrent.Future;
16import java.util.concurrent.TimeUnit;
124 private static boolean first =
false;
146 static private void SetupTmpl() {
150 System.loadLibrary(
"jvmqmsgque");
157 var cmd = System.getProperty(
"sun.java.command").split(
" ")[0];
162 if (cmd.substring(cmd.length()-4).equals(
".jar")) {
238 public native
static String
Help (String tool);
295 private static native
void MqSysServerThreadMain(
long mainS);
296 private static ExecutorService threadPool =
null;
298 private static Future<Object> MqSysServerThreadPipeCB(
long mainS) {
299 if (threadPool ==
null) threadPool = Executors.newCachedThreadPool();
300 var ret = threadPool.submit(
303 MqSysServerThreadMain(mainS);
304 }
catch (Throwable e) {
312 private static void MqSysServerThreadWorkCB(
long mainS) {
313 if (threadPool ==
null) threadPool = Executors.newCachedThreadPool();
318 MqSysServerThreadMain(mainS);
319 }
catch (Throwable e) {
327 private void WaitForThreadPipe (Future<Object> fut) {
329 fut.get(200,TimeUnit.MILLISECONDS);
330 }
catch (Exception e) {
MqContextC - the class known as ctx or context is the application-handle of the application-server an...
MqFactoryC - the class known as fct or factory is used to provide an interface to create one or more ...
MqMsgque PACKAGE - the package is the toplevel structure of the jvmqmsgque …
Java: enum MqStatusIsEF → C-API
Java: enum MqIdentE → C-API
Java: enum MqSlaveE → C-API
Java: enum MqStartE → C-API
Java: enum MqWaitOnEventE → C-API
native void Println(String msg, String callfunc, int callline)
native MkErrorC Catch(Throwable exception, String callfunc)
static native MkErrorC DEFAULT()
native MqFactoryC Initial()
Java: MqFactoryC fct.Initial() → C-API set the initial-attribut to fct …
static native String DefaultIdent()
Java: [static] String MqFactoryC.DefaultIdent() → C-API return the factory-identifier of the def...
native MqFactoryC Default()
Java: MqFactoryC fct.Default() → C-API set the default-attribute to the factory …
static native MqFactoryC Add(Class<?> constructor, String ident)
Java: [constructor,static] MqFactoryC MqFactoryC.Add(Class<?> constructor, ?String ident = null?...
static native int StatusIsEF_ToInt(MqStatusIsEF value)
Java: [static] int StatusIsEF_ToInt(MqStatusIsEF value) → C-API return the MqStatusIsEF as integ...
static native String WaitOnEventE_ToString(MqWaitOnEventE value)
Java: [static] String WaitOnEventE_ToString(MqWaitOnEventE value) → C-API return the MqWaitOnEve...
static native int IdentE_ToInt(MqIdentE value)
Java: [static] int IdentE_ToInt(MqIdentE value) → C-API return the MqIdentE as integer …
static native MqSlaveE SlaveE_FromInt(int value)
Java: [static] MqSlaveE SlaveE_FromInt(int value) → C-API return the MqSlaveE from integer …
static native String StartE_ToString(MqStartE value)
Java: [static] String StartE_ToString(MqStartE value) → C-API return the MqStartE as string …
static native MqIdentE IdentE_FromInt(int value)
Java: [static] MqIdentE IdentE_FromInt(int value) → C-API return the MqIdentE from integer …
static native String IdentE_ToString(MqIdentE value)
Java: [static] String IdentE_ToString(MqIdentE value) → C-API return the MqIdentE as string …
static native int StartE_ToInt(MqStartE value)
Java: [static] int StartE_ToInt(MqStartE value) → C-API return the MqStartE as integer …
static native String SlaveE_ToString(MqSlaveE value)
Java: [static] String SlaveE_ToString(MqSlaveE value) → C-API return the MqSlaveE as string …
static native String StatusIsEF_ToString(MqStatusIsEF value)
Java: [static] String StatusIsEF_ToString(MqStatusIsEF value) → C-API return the MqStatusIsEF as...
static native int SlaveE_ToInt(MqSlaveE value)
Java: [static] int SlaveE_ToInt(MqSlaveE value) → C-API return the MqSlaveE as integer …
static native MqStartE StartE_FromInt(int value)
Java: [static] MqStartE StartE_FromInt(int value) → C-API return the MqStartE from integer …
static native MqWaitOnEventE WaitOnEventE_FromInt(int value)
Java: [static] MqWaitOnEventE WaitOnEventE_FromInt(int value) → C-API return the MqWaitOnEventE ...
static native MqStatusIsEF StatusIsEF_FromInt(int value)
Java: [static] MqStatusIsEF StatusIsEF_FromInt(int value) → C-API return the MqStatusIsEF from i...
static native int WaitOnEventE_ToInt(MqWaitOnEventE value)
Java: [static] int WaitOnEventE_ToInt(MqWaitOnEventE value) → C-API return the MqWaitOnEventE as...
static native String HelpMsgque()
Java: [static] String HelpMsgque() → C-API return a page with the usage of all jvmqmsgque specif...
static native String Help(String tool)
Java: [static] String Help(String tool) → C-API write jvmqmsgque specific user-help to stderr
static native MkBufferListC InitResetArg0()
Java: [static] MkBufferListC InitResetArg0() → C-API Reset the process-startup-prefix argument t...
static void InitSetArg0(String... bfl)
Java: [static] InitSetArg0(?MkBufferListC bfl = null?) → C-API set the process startup-prefix ar...
static native MkBufferListC InitGetArg0()
Java: [static] MkBufferListC InitGetArg0() → C-API get the process startup-prefix argument
static native void InitSetArg0(MkBufferListC bfl)
Java: [static] InitSetArg0(?MkBufferListC bfl = null?) → C-API set the process startup-prefix ar...
static void InitSetArg0()
Java: [static] InitSetArg0(?MkBufferListC bfl = null?) → C-API set the process startup-prefix ar...
static native void Cleanup()
Java: [static] Cleanup() → C-API cleanup jvmqmsgque internal memory …
static void Setup()
Java: [static] Setup() → C-API setup jvmqmsgque internal memory …