public interface MatsSocketStatics
Modifier and Type | Interface and Description |
---|---|
static class |
MatsSocketStatics.DebugStackTrace |
static class |
MatsSocketStatics.DirectJson
If the
MatsSocketServer.MatsSocketEnvelopeDto.msg -field is of this magic type, the String it contains - which then
needs to be proper JSON - will be output directly. |
static class |
MatsSocketStatics.DirectJsonMessageHandlingDeserializer
A
MatsSocketServer.MatsSocketEnvelopeWithMetaDto will be Serialized (made into object) with the "msg" field handled
specially: If it is any other class than MatsSocketStatics.DirectJson , default handling ensues (JSON object serialization)
- but if it this particular class, it will output the (JSON) String it contains directly. |
static class |
MatsSocketStatics.MatsSocketEnvelopeDto_Mixin |
static class |
MatsSocketStatics.MessageToStringDeserializer
A
MatsSocketServer.MatsSocketEnvelopeWithMetaDto will be Deserialized (made into object) with the "msg" field
directly to the JSON that is present there (i.e. |
static class |
MatsSocketStatics.SocketSendIOException
When trying to send messages over WebSocket and get an IOException, we do not have many options of handling - the
socket has probably closed.
|
Modifier and Type | Method and Description |
---|---|
default com.fasterxml.jackson.databind.ObjectMapper |
jacksonMapper() |
default double |
ms(long nanos) |
default double |
msSince(long nanosStart) |
static final java.lang.String MDC_SESSION_ID
static final java.lang.String MDC_PRINCIPAL_NAME
static final java.lang.String MDC_USER_ID
static final java.lang.String MDC_CLIENT_LIB_AND_VERSIONS
static final java.lang.String MDC_CLIENT_APP_NAME_AND_VERSION
static final java.lang.String MDC_MESSAGE_TYPE
static final java.lang.String MDC_TRACE_ID
static final java.lang.String MDC_CMID
static final java.lang.String MDC_SMID
static final int MAX_LENGTH_OF_TOPIC_NAME
static final int MAX_NUMBER_OF_TOPICS_PER_SESSION
static final int MAX_NUMBER_OF_SESSIONS_PER_USER_ID
static final int MAX_NUMBER_OF_RECORDED_ENVELOPES_PER_SESSION
static final int MAX_NUMBER_OF_HELD_ENVELOPES_PER_SESSION
static final int MAX_SIZE_OF_HELD_ENVELOPE_MSGS
static final int MAX_NUMBER_OF_REDELIVERY_ATTEMPTS
static final int MAX_NUMBER_OF_MESSAGES_PER_FORWARD_LOOP
static final int MIN_FORWARDER_POOL_SIZE
static final int MAX_FORWARDER_POOL_SIZE
static final int MAX_NUMBER_OF_OUTBOX_STORE_ATTEMPTS_CSAF
static final int MAX_NUMBER_OF_COMPENSATING_TRANSACTIONS_ATTEMPTS
static final int MILLIS_BETWEEN_COMPENSATING_TRANSACTIONS_ATTEMPTS
static final long MILLIS_BETWEEN_LIVELINESS_UPDATE_RUN
static final long MILLIS_BETWEEN_SESSION_TIMEOUT_RUN
static final long MILLIS_BETWEEN_SCAVENGE_SESSION_REMNANTS_RUN
static final java.util.function.Supplier<java.lang.Long> MILLIS_SESSION_TIMEOUT_SUPPLIER
static final int NUMBER_OF_OUTGOING_ENVELOPES_SCHEDULER_THREADS
static final java.lang.String THREAD_PREFIX