Package org.rapidcontext.app.proc
Class ThreadListProcedure
java.lang.Object
org.rapidcontext.core.storage.StorableObject
org.rapidcontext.core.type.Procedure
org.rapidcontext.app.proc.ThreadListProcedure
Deprecated, for removal: This API element is subject to removal in a future version.
Thread introspection will be removed in a future release.
The built-in thread list procedure.
- Version:
- 1.0
-
Field Summary
Fields inherited from class org.rapidcontext.core.type.Procedure
ACTIVE_MILLIS, KEY_ALIAS, KEY_BINDING, KEY_DEPRECATED, KEY_DESCRIPTION, PATH
Fields inherited from class org.rapidcontext.core.storage.StorableObject
dict, KEY_ACTIVATED_TIME, KEY_CLASSNAME, KEY_ID, KEY_TYPE, PREFIX_COMPUTED, PREFIX_HIDDEN
-
Constructor Summary
ConstructorsConstructorDescriptionThreadListProcedure
(String id, String type, Dict dict) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new procedure from a serialized representation. -
Method Summary
Modifier and TypeMethodDescriptioncall
(CallContext cx, Bindings bindings) Deprecated, for removal: This API element is subject to removal in a future version.Executes a call of this procedure in the specified context and with the specified call bindings.Methods inherited from class org.rapidcontext.core.type.Procedure
alias, all, deprecated, description, find, getBindings, isActive, metrics, normalize, refreshAliases, report
Methods inherited from class org.rapidcontext.core.storage.StorableObject
activate, activatedTime, destroy, dictKey, id, init, isModified, passivate, path, serialize, sterilize, toString, type
-
Constructor Details
-
ThreadListProcedure
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new procedure from a serialized representation.- Parameters:
id
- the object identifiertype
- the object type namedict
- the serialized representation
-
-
Method Details
-
call
Deprecated, for removal: This API element is subject to removal in a future version.Executes a call of this procedure in the specified context and with the specified call bindings. The semantics of what the procedure actually does, is up to each implementation. Note that the call bindings are normally inherited from the procedure bindings with arguments bound to their call values.- Specified by:
call
in classProcedure
- Parameters:
cx
- the procedure call contextbindings
- the call bindings to use- Returns:
- the result of the call, or null if the call produced no result
- Throws:
ProcedureException
- if the call execution caused an error
-