theKernel 10.0
Loading...
Searching...
No Matches
jvmkkernel.MkRuntimeC Class Reference

MkRuntimeC - The class known as mkrt or runtime is the main jvmkkernel application environment … More...

+ Inheritance diagram for jvmkkernel.MkRuntimeC:
+ Collaboration diagram for jvmkkernel.MkRuntimeC:

Static Public Member Functions

static native int DebugGet ()
  Java: [static] int MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
static native void DebugSet (int dbg)
  Java: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …
 
static native MkErrorE ErrorGetCode ()
  Java: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS.code from a given MkRuntimeC
 
static native boolean IsSilentGet ()
  Java: [static] boolean MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
static native void IsSilentSet (boolean silent)
  Java: [static] MkRuntimeC.IsSilentSet(boolean silent) C-API
set the MkRuntimeS::isSilent value …
 
static native String LogTargetGet ()
  Java: [static] String MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
static native void LogTargetReset ()
  Java: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
static native void LogTargetSet (String logTgt)
  Java: [static] MkRuntimeC.LogTargetSet(String logTgt) C-API
set the MkRuntimeS::log value and cleanup old value …
 
static native void NoDecoSet (boolean noDeco)
  Java: [static] MkRuntimeC.NoDecoSet(boolean noDeco) C-API
set the MkRuntimeS::noDeco value …
 
static native void Log0 (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
static void Log0 ()
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
static void Log0 (MkObjectC fmtobj)
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
static void Log0 (MkObjectC fmtobj, int debug)
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
static void Log0 (MkObjectC fmtobj, int debug, String callfunc)
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
- Static Public Member Functions inherited from jvmkkernel.MkObjectC
static native MkObjectC HandleResolve (int netHdl)
  Java: [static] MkObjectC MkObjectC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a MkObjectC from netHdl or null if invalid…
 
static native void HandleDeleteByNetHdl (int netHdl)
  Java: [static] MkObjectC.HandleDeleteByNetHdl(int netHdl) C-API
Handle-Delete-Slot - delete a netHdl from handle-storage …
 
static native MkObjectC Instances ()
  Java: [static] MkObjectC MkObjectC.Instances() C-API
get head-instance from linked-list of MkObjectS type …
 
static native MkObjectC GetNull ()
  Java: [static] MkObjectC MkObjectC.GetNull() C-API
Null-Slot - return a MkObjectC typed NULL instance …
 
static native void DbgM (String message, int debug, String callfunc, int lvl)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug, String callfunc)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static native int SysHashI32 (String key, int length)
 MkSysHashI32
 
static int SysHashI32 (String key)
 MkSysHashI32
 
static native String SysHashSTR (String key, int length)
 MkSysHashSTR
 
static String SysHashSTR (String key)
 MkSysHashSTR
 
static native void DeleteCallbackCleanup (String ident)
  Java: [static] MkObjectC.DeleteCallbackCleanup(String ident) C-API
cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup
 
static native void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static int getPId ()
 
static long getTId ()
 
static String getCallerProc (int level)
 
static String getCallerProc ()
 
static String getStackTrace (int level)
 
static String getStackTrace ()
 
static int getCallerLine (int level)
 
static int getCallerLine ()
 
static String getCallerFile (int level)
 
static String getCallerFile ()
 
static void SF (String msg, String name, int framelvl)
 
static void SF (String msg)
 
static void SF (String msg, String name)
 
static void printP (long ptr, String name, int framelvl)
 
static void printO (byte byt, String name, int framelvl)
 
static void printBool (boolean bol, String name, int framelvl)
 
static void printObj (Object id, String caller, int framelvl)
 
static void printObj (Object id, String caller)
 
static void printObj (Object id)
 
static void printC (String id, String name, int framelvl)
 
static void printC (String id)
 
static void printTyp (MkObjectC id, String name, int framelvl)
 
static void printStack (String name, int framelvl)
 
static void M0 ()
 
static void M1 ()
 
static void M2 ()
 
static void M3 ()
 
static void M4 ()
 
static void M5 ()
 
static void M6 ()
 
static void M7 ()
 
static void M8 ()
 
static void M9 ()
 
static void MA ()
 
static void MB ()
 
static void MC ()
 
static void MD ()
 
static void ME ()
 

Additional Inherited Members

- Public Member Functions inherited from jvmkkernel.MkObjectC
void close ()
 
String toString ()
 
native void HandleDelete ()
  Java: netObj.HandleDelete() C-API
Handle-Delete-Slot - delete a netObj from handle-storage …
 
native boolean HandleExists ()
  Java: boolean obj.HandleExists() C-API
check if obj has already a handle defined…
 
native int HandleGet ()
  Java: int obj.HandleGet() C-API
Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage
 
native int HandleGetOfType ()
  Java: int obj.HandleGetOfType() C-API
Export-Slot - returns typeHdl of the obj .
 
native int HandleGetOr0 ()
  Java: int obj.HandleGetOr0() C-API
return export-hdl or 0 in not created…
 
native MkObjectC Next ()
  Java: MkObjectC obj.Next() C-API
get next instance from linked-list of MkObjectS type
 
native MkObjectC Prev ()
  Java: MkObjectC obj.Prev() C-API
get previous instance from linked-list of MkObjectS type
 
native void DbgDump (String message, String callfunc)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump ()
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump (String message)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
native void DbgL (String message, int debug, String callfunc, int lvl)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug, String callfunc)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
native void DbgLogC (String callfunc)
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
void DbgLogC ()
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
native void DbgO (String callfunc)
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
void DbgO ()
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
native void DbgSTACK (int skip, int num, String callfunc)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK ()
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip, int num)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
native void LogC (String message, int debug, String callfunc)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message, int debug)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
native void LogHEX (String callfunc, byte[] data)
  Java: fmtobj.LogHEX(?String callfunc = null?, byte[] data) C-API
log binaray data as HEX into the MkLogFileC (default: stderr) …
 
native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native void LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong ()
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort ()
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType ()
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void Log ()
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native MkErrorC ErrorCatch (Throwable exception, String callfunc)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch ()
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch (Throwable exception)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
native MkErrorC ToError ()
  Java: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
native boolean IsNull ()
  Java: boolean obj.IsNull() C-API
ckeck if the object is null
 
native String ToName ()
  Java: String obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
native String ToNameOfClass ()
  Java: String obj.ToNameOfClass() C-API
Class-Slot - returns the Java-Class-Name of the obj as string
 
native String ToNameOfType ()
  Java: String obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
native String ToString ()
  Java: String inst.ToString() C-API
String-Slot - returns the string representation of the inst
 
native int RefGet ()
 MkRefGet
 
native void SysKill (int pid, int signal)
 MkSysKill
 
native int SysGetPid ()
 MkSysGetPid
 
native void Dispose ()
  Java: [destructor] obj.Dispose() C-API
Dispose-Slot - untie the connection between the Native-Java-Instance and the jvmkkernel-Instance.
 
native void Delete ()
  Java: [destructor] obj.Delete() C-API
Delete-Slot - delete an instance.
 
void printP ()
 
void L0 ()
 
void L1 ()
 
void L2 ()
 
void L3 ()
 
void L4 ()
 
void L5 ()
 
void L6 ()
 
void L7 ()
 
void L8 ()
 
void L9 ()
 
void LA ()
 
void LB ()
 
void LE ()
 
void printL (String name, Object val)
 
- Protected Member Functions inherited from jvmkkernel.MkObjectC
 MkObjectC (long mng, boolean dummy)
 This contructor is used internal to create an java-object for an already existing libmqmsgque-object.
 
void Dispose (boolean disposing)
 
- Static Package Functions inherited from jvmkkernel.MkObjectC

Detailed Description

MkRuntimeC - The class known as mkrt or runtime is the main jvmkkernel application environment …

The runtime is automatically created as thread-local-storage at startup, so that each new thread receives a thread-specific runtime. Each instance of the thread has a link to the runtime it was created in:

runtime-separation
  • The runtime and also the runtime-related-thread in the Programming-Language-Micro-Kernel (PLMK) are treated as an independent-process without any process overhead.
  • The runtime is completly independent of any other runtime and can also be used in a separate process without changing the code.
  • The technology behind the so-called runtime-separation is the jvmkkernel technology.
the runtime provide the following features
THREAD ENABLED LIBRARY
The thread-enabled-libry is a library compiled with the --enable-thread configure option of Nhi1Config
RUNTIME DEFAULT
The Programming-Language-Micro-Kernel (PLMK) always has one runtime per thread called the runtime-default. This runtime is created at MkSetup and destroyed at MkCleanup.
The runtime-enabled-function always get the runtime-default as first argument in a doc_mk_jv_thread-enabled-library.

Definition at line 18 of file MkRuntimeC.java.


The documentation for this class was generated from the following file: