Skip navigation links
C D E F G H I J L M P Q R S T W _ 

C

causalLevel - Variable in class mdk.LoggedMessageId
The causal clock level within the trace.
CONTEXT_HEADER - Static variable in interface mdk.MDK
This header is used to propogate shared context for distributed traces.
CONTEXT_HEADER - Static variable in class mdk.MDKImpl
This header is used to propogate shared context for distributed traces.
critical(String, String) - Method in interface mdk.Session
Record a log entry at the CRITICAL logging level.
critical(String, String) - Method in class mdk.SessionImpl
 

D

debug(String, String) - Method in interface mdk.Session
Record a log entry at the DEBUG logging level.
debug(String, String) - Method in class mdk.SessionImpl
 
derive(String) - Method in interface mdk.MDK
Create a new Session.
derive(String) - Method in class mdk.MDKImpl
 

E

environment - Variable in class mdk.LoggedMessageId
The operational environment.
environmentFallback - Variable in class mdk.LoggedMessageId
The fallback operational environment.
error(String, String) - Method in interface mdk.Session
Record a log entry at the ERROR logging level.
error(String, String) - Method in class mdk.SessionImpl
 
externalize() - Method in interface mdk.Session
Returns an externalized representation of the distributed session.
externalize() - Method in class mdk.SessionImpl
 

F

fail_interaction(String) - Method in interface mdk.Session
Record an interaction as failed.
fail_interaction(String) - Method in class mdk.SessionImpl
 
finish_interaction() - Method in interface mdk.Session
Finish an interaction.
finish_interaction() - Method in class mdk.SessionImpl
 
Functions - Class in mdk
 
Functions() - Constructor for class mdk.Functions
 

G

getDiscoveryFactory(EnvironmentVariables) - Method in class mdk.MDKImpl
Choose DiscoverySource based on environment variables.
getEnvironment() - Method in interface mdk.Session
Return the session's Environment.
getEnvironment() - Method in class mdk.SessionImpl
 
getFailurePolicy(MDKRuntime) - Method in class mdk.MDKImpl
Choose FailurePolicy based on environment variables.
getProperty(String) - Method in interface mdk.Session
Return the value of a property from the distributed session.
getProperty(String) - Method in class mdk.SessionImpl
 
getRemainingTime() - Method in interface mdk.Session
Return how many seconds until the session ought to end.
getRemainingTime() - Method in class mdk.SessionImpl
 
getValue() - Method in class mdk._TLSInit
 
getWSClient(MDKRuntime) - Method in class mdk.MDKImpl
Get a WSClient, unless env variables suggest the user doesn't want one.

H

hasProperty(String) - Method in interface mdk.Session
Return whether the distributed session has a property.
hasProperty(String) - Method in class mdk.SessionImpl
 

I

info(String, String) - Method in interface mdk.Session
Record a log entry at the INFO logging level.
info(String, String) - Method in class mdk.SessionImpl
 
init() - Static method in class mdk.Functions
Create an unstarted instance of the MDK.
inject() - Method in interface mdk.Session
Grabs the encoded context.
inject() - Method in class mdk.SessionImpl
 
interact(UnaryCallable) - Method in interface mdk.Session
This is a convenience API that will perform start_interaction() followed by callable(ssn) followed by finish_interaction().
interact(UnaryCallable) - Method in class mdk.SessionImpl
 

J

join(String) - Method in interface mdk.MDK
Create a new Session and join it to an existing distributed sesion.
join(String) - Method in class mdk.MDKImpl
 

L

LoggedMessageId - Class in mdk
Information about the message that was just logged.
LoggedMessageId(String, ArrayList<Integer>, String, String) - Constructor for class mdk.LoggedMessageId
 
logger - Variable in class mdk.MDKImpl
 

M

mdk - package mdk
 
MDK - Interface in mdk
The MDK API consists of two interfaces: MDK and Session.
mdk__TLSInit_ref - Static variable in class mdk._TLSInit
 
mdk_LoggedMessageId_ref - Static variable in class mdk.LoggedMessageId
 
mdk_MDK_ref - Static variable in interface mdk.MDK
 
mdk_MDKImpl_ref - Static variable in class mdk.MDKImpl
 
mdk_Session_ref - Static variable in interface mdk.Session
 
mdk_SessionImpl_ref - Static variable in class mdk.SessionImpl
 
MDKImpl - Class in mdk
 
MDKImpl(MDKRuntime) - Constructor for class mdk.MDKImpl
 

P

procUUID - Variable in class mdk.MDKImpl
 

Q

quark_List_mdk_discovery_Node__ref - Static variable in class mdk.SessionImpl
 
quark_List_mdk_metrics_InteractionEvent__ref - Static variable in class mdk.SessionImpl
 
quark_List_quark_int__ref - Static variable in class mdk.LoggedMessageId
 
quark_List_quark_List_mdk_discovery_Node___ref - Static variable in class mdk.SessionImpl
 
quark_List_quark_Map_quark_String_quark_String___ref - Static variable in class mdk.SessionImpl
 
quark_List_quark_String__ref - Static variable in class mdk.SessionImpl
 
quark_Map_quark_String_quark_int__ref - Static variable in class mdk.SessionImpl
 
quark_Map_quark_String_quark_List_quark_Map_quark_String_quark_String____ref - Static variable in class mdk.SessionImpl
 
quark_Map_quark_String_quark_Object__ref - Static variable in class mdk.MDKImpl
 
quark_Map_quark_String_quark_String__ref - Static variable in class mdk.SessionImpl
 

R

register(String, String, String) - Method in interface mdk.MDK
Registers a service endpoint with the discovery system.
register(String, String, String) - Method in class mdk.MDKImpl
 
resolve(String, String) - Method in interface mdk.Session
Locate a compatible service instance.
resolve(String, String) - Method in class mdk.SessionImpl
 
resolve_async(String, String) - Method in interface mdk.Session
Locate a compatible service instance asynchronously.
resolve_async(String, String) - Method in class mdk.SessionImpl
 
resolve_until(String, String, Double) - Method in interface mdk.Session
Locate a compatible service instance with a non-default timeout.
resolve_until(String, String, Double) - Method in class mdk.SessionImpl
 
route(String, String, String, String) - Method in interface mdk.Session
EXPERIMENTAL; requires MDK_EXPERIMENTAL=1 environment variable to function.
route(String, String, String, String) - Method in class mdk.SessionImpl
 

S

session() - Method in interface mdk.MDK
Creates a new Session.
session() - Method in class mdk.MDKImpl
 
Session - Interface in mdk
A session provides a lightweight sequential context that a microservice can use in the context of any application framework in order to manage its interactions with other microservices.
SessionImpl - Class in mdk
 
SessionImpl(MDKImpl, String, OperationalEnvironment) - Constructor for class mdk.SessionImpl
 
setDeadline(Double) - Method in interface mdk.Session
Set how many seconds the session is expected to live from this point.
setDeadline(Double) - Method in class mdk.SessionImpl
 
setDefaultDeadline(Double) - Method in interface mdk.MDK
Set the default timeout for MDK sessions.
setDefaultDeadline(Double) - Method in class mdk.MDKImpl
 
setDefaultTimeout(Double) - Method in interface mdk.MDK
DEPRECATED, use setDefaultDeadline().
setDefaultTimeout(Double) - Method in class mdk.MDKImpl
 
setProperty(String, Object) - Method in interface mdk.Session
Set a property on the distributed session.
setProperty(String, Object) - Method in class mdk.SessionImpl
 
setTimeout(Double) - Method in interface mdk.Session
DEPRECATED, use setDeadline().
setTimeout(Double) - Method in class mdk.SessionImpl
 
start() - Static method in class mdk.Functions
Create a started instance of the MDK.
start() - Method in interface mdk.MDK
Start the MDK.
start() - Method in class mdk.MDKImpl
 
start_interaction() - Method in interface mdk.Session
Start an interaction with a remote service.
start_interaction() - Method in class mdk.SessionImpl
 
stop() - Method in interface mdk.MDK
Stop the MDK.
stop() - Method in class mdk.MDKImpl
 

T

trace(String) - Method in interface mdk.Session
EXPERIMENTAL: Set the logging level for the session.
trace(String) - Method in class mdk.SessionImpl
 
traceId - Variable in class mdk.LoggedMessageId
The ID of the trace this message was logged in.

W

warn(String, String) - Method in interface mdk.Session
Record a log entry at the WARN logging level.
warn(String, String) - Method in class mdk.SessionImpl
 

_

_context - Variable in class mdk.SessionImpl
 
_current_interaction() - Method in class mdk.SessionImpl
 
_defaultTimeout - Variable in class mdk.MDKImpl
 
_disco - Variable in class mdk.MDKImpl
 
_discoSource - Variable in class mdk.MDKImpl
 
_enabled(String) - Method in class mdk.SessionImpl
 
_environment - Variable in class mdk.MDKImpl
 
_experimental - Variable in class mdk.SessionImpl
 
_get(EnvironmentVariables, String, String) - Static method in class mdk.Functions
 
_getClass() - Method in class mdk._TLSInit
 
_getClass() - Method in class mdk.LoggedMessageId
 
_getClass() - Method in class mdk.MDKImpl
 
_getClass() - Method in class mdk.SessionImpl
 
_getField(String) - Method in class mdk._TLSInit
 
_getField(String) - Method in class mdk.LoggedMessageId
 
_getField(String) - Method in class mdk.MDKImpl
 
_getField(String) - Method in class mdk.SessionImpl
 
_inLogging - Static variable in class mdk.SessionImpl
 
_interactionReports - Variable in class mdk.SessionImpl
 
_level(String) - Static method in class mdk.SessionImpl
 
_levels - Static variable in class mdk.SessionImpl
 
_log(String, String, String) - Method in class mdk.SessionImpl
 
_mdk - Variable in class mdk.SessionImpl
 
_metrics - Variable in class mdk.MDKImpl
 
_openclose - Variable in class mdk.MDKImpl
 
_parseEnvironment(String) - Static method in class mdk.Functions
Convert 'name' or 'fallback:name' into an Environment.
_reflection_hack - Variable in class mdk.MDKImpl
 
_resolve(String, String) - Method in class mdk.SessionImpl
 
_resolved - Variable in class mdk.SessionImpl
 
_resolvedCallback(Node) - Method in class mdk.SessionImpl
 
_running - Variable in class mdk.MDKImpl
 
_runtime - Variable in class mdk.MDKImpl
 
_setField(String, Object) - Method in class mdk._TLSInit
 
_setField(String, Object) - Method in class mdk.LoggedMessageId
 
_setField(String, Object) - Method in class mdk.MDKImpl
 
_setField(String, Object) - Method in class mdk.SessionImpl
 
_start_interaction() - Method in class mdk.SessionImpl
 
_timeout() - Method in class mdk.MDKImpl
 
_TLSInit - Class in mdk
 
_TLSInit() - Constructor for class mdk._TLSInit
 
_tracer - Variable in class mdk.MDKImpl
 
_wsclient - Variable in class mdk.MDKImpl
 
C D E F G H I J L M P Q R S T W _ 
Skip navigation links