Package org.jpos.util


package org.jpos.util
  • Class
    Description
    Abstract class for LogEventWriter implementations.
    implements a blocking queue
    Thrown by queue operations after the queue has been closed.
    BufferedLogListener variant that only retains events whose payload carries an exception, useful for buffering recent failures for triage.
    LogListener that buffers a configurable window of recent events and replays them (asynchronously) to any registered downstream listeners.
    Return Caller's short class name, method and line number
    General purpose Chronometer Measures execution time (in millis) with support for partial durations.
    Helpers that build pre-tuned java.util.concurrent primitives for use across jPOS, currently focused on virtual-thread-backed scheduled executors with sensible shutdown semantics.
    Rotates log daily and compress the previous log.
    Convenience helpers for parsing and formatting dates and times in a small set of jPOS-specific patterns.
    Timer accesor singleton
    Implemented by objects that require explicit cleanup on shutdown; the container calls Destroyable.destroy() during teardown.
    DirPoll operates on a set of directories which defaults to request response tmp run bad archive scanning for incoming requests (of varying priorities) on the request directory and processing them by means of DirPoll.Processor or DirPoll.FileProcessor
    Exception thrown by DirPoll.Processor or DirPoll.FileProcessor to signal a processing error.
    Callback interface for processing request File objects directly.
    Callback interface for processing binary request files.
    A Loggeable wrapper around a named byte array payload.
    A specific log listener that filters all LogEvents that doesn't contain any exception.
    A specific log listener that filters logs based on their priorities.
    A LogListener that uses the RemoveNewLinesMapper to remove newlines from the LogEvent dump output.
    An immutable, serializable snapshot of a LogEvent.
    General purpose, Field Separator delimited message.
    Protects selected fields from LogEvents.
    Log listener that suppresses configured realms or MTIs.
    JSONL (one JSON object per line) LogEventWriter with built-in PCI protection.
    Deprecated.
    Represents a LogSource and adds several helpers
    Serializes log file compression across all log listener instances through a single on-demand background worker.
    A single structured log event that carries a tag, realm, payload items, and optionally a Throwable.
    OutputStream that buffers writes and periodically flushes the accumulated bytes as a single LogEvent after a configurable delay.
    LogEventWriters allow the customization of how LogListeners write LogEvent data to output streams.
    Implemented by objects that can produce a human-readable log representation via Loggeable.dump(java.io.PrintStream, String).
    Peer class Logger forwards LogEvents generated by LogSources to LogListeners.
    Implemented by objects that wish to receive and process LogEvent instances produced by a Logger.
    Interface for objects that produce log events and manage a list of LogListeners.
    Implemented by objects that own a Logger and can produce LogEvent instances.
    Helpers for emitting strings that may contain XML-reserved characters inside log payloads, optionally wrapping them in CDATA blocks.
    LogEventWriter that can be configured with event and output mappers to modify the events before writing to output stream and modify the output stream before writing to the final destination respectfully.
    LogEvent that captures a precomputed Markdown rendering and replays it verbatim on subsequent dump/toString calls.
    Deprecated.
    HdrHistogram-backed metrics aggregator with on-demand histogram creation per name.
    Implemented by components that publish a Metrics instance for inspection or dumping.
    Allow runtime binding of jPOS's components (ISOChannels, Logger, MUXes, etc)
    Thrown when a requested name is not found in the registrar.
    PGP utility helpers used by jPOS for license verification, public-key loading, and simple encryption/decryption with Bouncy Castle.
    Simple Profiler
    A single timed checkpoint entry recorded by the Profiler.
    Protects selected fields from LogEvents.
    Canonical realm strings used by jPOS log sources to group related events.
    Filters LogEvents by their realm
    RealmLogFilter is a filter for Event logs, it should be defined _before_ other standard LogListeners such as SimpleLogListener or RotateLogListeners.
    Caches a supplier's result up to approximately maxCycles.
    Rotates logs
    Java-serialization helpers with deserialization filters that reject known gadget-chain classes and enforce a depth limit.
    A LogListener that writes log events to a PrintStream (default: System.out).
    LogSources can choose to extends this SimpleLogSource
    A simple general purpose loggeable message.
    A LogListener implementation that allows logging during a configurable time window every configurable period.
    LogListener that publishes events into a Space queue, optionally freezing them to a FrozenLogEvent first so background subscribers see a stable snapshot.
    Simple wall-clock timer that pads a block of work to a minimum duration, useful when masking timing differences between branches (e.g.
    SysLog Listener see www.ietf.org/rfc/rfc3164.txt
    Periodically dumps Thread and memory usage
    Serializable, mutable set of string tags with helpers for parsing comma-separated values.
    Deprecated.
    Used Executor framework
    Marks jobs that can be supervised and interrupted when expired.
    Exposes thread-pool metrics via JMX.
    ThroughputControl limits the throughput of a process to a maximum number of transactions in a given period of time.
    TPS can be used to measure Transactions Per Second (or transactions during other period of time).
    Deprecated.
    WatchDog will issue a warning message if not canceled on time
    Deprecated.
    Uses java.util.zip to compress an input file and store it to the given output.