All Classes and Interfaces
Class
Description
This class should be considered as wrapper class for HigsonDomainObject that will holds some extra informations, like children, context.
Abstract class with default
Type.convert(Object)
implementation that should be good enough for most custom types.Base implementation for common methods:
- isNull / isNotNull
- equals
- hashCode
- compareTo
- getString
E - type of element that will be wrapped by adapter.
E - type of element that will be wrapped by adapter.
The AddUtilFunction is a utility function designed for adding two values.
This class helps to override default behaviour of
parent context with custom values.exception to use when given region and/or version is attached to more than one profile
Annotation scanner util supporting SmartParam* annotations.
Fast method based on assumption that all characters are 7-bit ascii chars.
This interface enables developers to provide custom implementation of parameter value provider.
Process attributes.txt file, for retrieving attributes and extra(dynamic) attributes of domain elements.
Thrown if there was a problem with recognize parsed database dialect.
Created by psikora on 2017-01-17.
Standard implementation of LevelPrepared.
Range matcher, checks if value fits in range defined in pattern.
Created by Artur Osiak on 14.10.2019
Class that represents BooleanType values.
Deprecated.
use io.higson.runtime.type.BooleanType
This is main class, that developer can interact with using higson persistence engine.
Utility class for walking through bundle property trees.
The date parser that caches [maxSize] parsing results.
The number parser that caches [maxSize] parsing results.
Splits text with given separator and caches [maxSize] results.
Decoder that is used internally to decode and call Higson parameters and functions.
This class represents collection of properties, that should store other properties with the same type
TypeDef.Type both values of a flow condition are converted to before they are compared.
An interceptor for managing connections to
dataSource. Matcher treats [value] and [pattern] as sets.
Matcher treats [value] and [pattern] as sets.
Matcher treats [value] and [pattern] as sets.
When initializing dynamic context.
Marks parameters which contain context paths.
Created by Artur Osiak on 14.10.2019
Implementation of dynamic
ParamContext.Default Reloader implementation:
The decision to reload is made based on the parameter configuration
Diagnostic (profiling) implementation of
AttributeInterceptor.Strategy for flushing a completed call-stack report.
Marker interface for payloads carried by
DiagnosticEvent.Immutable representation of a single diagnostic event that flows through
DiagnosticQueue.Identifies the type of
DiagnosticEvent flowing through DiagnosticQueue.Strategy for persisting
DiagnosticEvents of a single DiagnosticEventCode.Configuration for
DiagnosticFlushService.Drains the
DiagnosticQueue, classifies events by DiagnosticEventCode and routes
each group to a matching DiagnosticEventPersister.Periodic watcher that delegates to
DiagnosticFlushService once per cycle.Diagnostic (profiling) variant of
HigsonEngineImpl.Thread-safe, bounded in-memory queue for
DiagnosticEvent objects.Configuration for
DiagnosticQueue.Thread-safe counters for monitoring
DiagnosticQueue activity.Util class which supports parsing jdbc url to get database dialect.
Supported dialects within higson:
oracle - default dialect, if none was specified
hsqldb
h2
mssql2012
postgresql
This class represents a utility function for performing various calculations based on the given arguments and the target object.
Przechowuje atrybuty obiektu produktu.
Mapper class for domain attributes
Supporting class for directory traverse for both @regions support and no region support.
Mapper for extra attributes of domain element
Class acts like a facade for file processor.
Klasa przechowuje dane produktu.
Przechowu dane opisujÄ…ce typ produktu.
Extra class layer for special implementation cases, with extra method that retrieves tree structure of domain elements.
Default implementation for processing tree structure of file system and map it to DomainElements tree structure.
This enum contains all supported file names in snapshot import/export job.
This class supports extra configuration for
DomainRuntimeWatcher.Helper class used for wrapping all information about domainElement in one place, for easy access.
Supported property types by Higson Persistence Engine.
This class represents empty parameter's value.
Created by psikora on 2017-01-18.
The class contains the helper and tool methods used by the engine.
This class represents property of entity (complex) type with fields.
ExistUtilFunction is a utility function that checks if a value exists in the given context.
This class represents entry as json element for gmo.
Reads a pair of [id, value] from external storage.
Parses sql template and creates jdbc-compliant sql statement ready to bind input values.
Provides suggestion key for annotated element
The FormatUtilFunction class provides formatting functionality for different types of objects.
Represents the 'from' util function that retrieves values from a target object based on the provided context and arguments.
The reloding policy that accepts every parameter as eligible for reload.
The class represents functions from the so-called feature repository .
Each function in the repository has its unique name which is used to recognize and load its body.
Each function in the repository has its unique name which is used to recognize and load its body.
A contract that provides caching of a function object from a repository based on a unique name.
Global function codes that are supported by higson.
Intercepts function calls.
Invoker is able to run function (from Java class, script, etc...) described by
Function object with given parameters and return its value
(null if function is void).
Repository of functions.
Trying to extract wrong type from
ValueHolder.This class represents a utility function for getting a value from the Higson context.
This interface should be only used within Higson Persistence Engine as grouping facade of all possible actions on it's subclasses.
Base exception for bundle model operations.
Exception thrown when an illegal get operation is attempted on a property.
Exception thrown when a property cannot be removed because it is referenced.
Exception thrown when bundle model is used incorrectly.
This is access point to core functionalities of higson (engine).
This class is very important aspect of higson-runtime configuration.
Default engine implementation for accessing crucial aspects of the system.
Higson Flight Recorder is a tool for collecting internal events that do not affect engine performance.
This exception should be thrown within higson, instead of
IllegalStateException.Exception thrown when mapping configuration is invalid.
Root of the hierarchy of all Higson exceptions.
Recommended ONLY for test use
Class to be used as Higson sub-context.
Classic hi-lo identifier generator.
Abstraction for retrieving the next value from a named sequence — used by
HiLoSequenceGenerator
to allocate id buffers.Source of unique
long identifiers.Scanner for tracking properties in the identity set.
Identity-based set for tracking Property objects.
Provides:
1. current time from any clock
2. the strategy for checking if a given cached parameter exceeded idle timeout
All write exceptions for Snapshot Import should derived from this class.
Process info.txt file, for retrieving extra information about domain elements, like name.
Contract for component, that can be initialized using
PostConstructInitializer
when constructed by ParamEngineFactory. Class represents
IntegerType values.Created by Artur Osiak on 14.10.2019
A class that defines an integer type, that can be turned on
to an engine's type system.
Internal events recognized by HigsonFlightRecorder.
When using
LevelValues and
provided less level values than there are levels defined in parameter.This class represents a utility function for checking a value from the Higson context is blank.
This class represents a utility function for checking a value from the Higson context is empty.
General item container contract.
Implementacja funkcji (z repozytorium funkcji modulu parametrycznego) oparta
na metodzie dowolnego obiektu Java.
Marks function that should be included in Java function repository as a plugin.
Depth of parameter.
Parameter index - tree structure for efficient parameter lookup.
Simple parameter evaluation context that uses values provided directly by
user.
This is a very fast cache that implements memoization of pure functions.
One of condition fields should be defined
One of condition fields should be defined
The implementation of
FunctionCache based on concurrent hash map.Implementation of
PreparedParamCache based on concurrent HashMap version.Matcher role is to check if provided value matches pattern.
Provides an unambiguous reference to a parameter holding a matrix.
Annotation scanner util specializing in scanning methods.
Created by psikora on 2017-01-18.
exception to use when given region in given profile has no active version
T - type of model entity
T - type of model entity
This class is responsible for detecting and creating proper cell/value decoder method.
Cache of domain objects divided into profiles.
User session details provider, that is used within engine.
Created by psikora on 2014-11-24.
Represents single row of matrix returned from parameter querying.
Created by bwrega on 02.07.14.
The reloding policy that rejects every parameter from being reloaded.
Trying to register an item under same code (for strictly unique repositories).
Tester
DiagnosticCallStackFlushStrategy: does nothing on flush.The no-op implementation that never detects the idle timeout.
The no-op reloader implementation.
This class represents a utility function for checking a value from the Higson context is not blank.
Utility class for checking if a given object is not empty.
Thrown if there was not equal parsed dialect and properties dialect
Thrown if there was not provided jdbc url as String object.
Thrown if there was a problem with parsing jdbc url to get database dialect
Class represents
NumberType values.A class defines a numeric type.
Descriptor of object instance, can pass constructor arguments.
Contract for repository, that guarantees order of items.
Strategy applied when the diagnostic queue is full and a new event arrives.
Encapsulates list of packages to scan, can be iterated.
Marks assemblers that should be added to assembler repository during initial
scan.
Context of parameter result evaluation.
Single point of entry to get all parameters and call functions managed by
parameter engine.
Configuration to build ParamEngine instance - use
ParamEngineConfigBuilder
to create this immutable object.
ParamEngine configuration builder.
Creates ParamEngine instance using provided configuration.
Self-registering ParamEngine module.
Runtime configuration of ParamEngine, all collections are immutable.
Traverses SmartParamEngine service tree and returns runtime configuration of
engine in form of immutable object.
Interface for parameter that is loaded from storage and evaluated inside engine.
The class represents a single line of the
Parameter parameter.No value found in evaluated parameter, returned only if parameter does
not allow returning null values.
Marks function invokers that should be added to repository during initial
scan.
Marks function repository that should be added to function provider during
initial scan.
Marks matchers that should be added to matcher repository during initial
scan.
Interface for services building complete, in-memory representation of
parameter (preparing parameters).
Contract for every readonly parameter repository.
Marks types that should be added to matcher repository during initial
scan.
Container of parameter sub-matrix returned after querying the parameter.
Scans bundle and mark all properties persistent or transient.
Runtime config builder that extracts runtime information form parameter engine
"personal" PicoContainer.
Initializer for handling simple post-construct like initialization.
PreparedEntry compiled form, without unnecessary information and with
normalized levels array (never null, no trailing null values).
Compiled parameter level.
A contract that ensures the caching of prepared parameters (
PreparedParameter).Compiled parameter object, which contains all resolved references and
only necessary fields.
The util class for formatting collection or array contents.
Lock-guarded bucket of statistics to be used by AbstractProfiler.
This is main class representing property managed by Higson Persistence Engine.
Visitor pattern interface for traversing property trees.
This is a helper exception handler to be used by all classes related to DataSourceProxy:
- ConnectionProxy
- StatementProxy
- PreparedStatementProxy
Purpose of this class is to provide proper python body with enriched function definition and arguments.
Production
DiagnosticCallStackFlushStrategy: builds a DiagnosticCallStackReport, enqueues it
on the DiagnosticQueue, then clears the thread-local DiagnosticCallStack.Created by Artur Osiak on 14.10.2019
Prefixes of Higson objects references
Process reference.txt file, for retrieving reference path within domain elements.
Utility for efficient setter invocation.
Represents a reference link between a RefProperty and its target.
This class represents reference (pointer) to real
target Property.Watcher refreshes cached in-mem parameters according to their refresh configuration.
Contract for repository - it can be used to register objects
of specific type under string key.
Complex key that can be used in maps that need only unique entries and
custom ordering at the same time.
This is utility class for working with dates that are supported in Higson.
This class is an access point to retrieving parameters or calling functions in core.
Utility class providing mathematical functions which can be used within Higson functions
Created by psikora on 2017-01-18.
Created by psikora on 2017-01-18.
DiagnosticEventPersister handling DiagnosticEventCode.RUNTIME_METRICS events.Provides samples during simulation processing
Created by Artur Osiak on 14.10.2019
Utility function class to retrieve the size of an object in the Higson context.
Provides Bundle definition by reading it from snapshot directory or file.
Default class implementation that helps creates instance of T base on file.
TOML parser for creating objects and writing them into the file with specific format.
Marks annotation, that has sorting capabilities.
Parser for parsing sort config text into SortConfig object.
Decoder that is used internally to decode text using implementation of
Type.Simple connection interceptor, without any DI usages.
The class represents values of the
StringType type.Basic equality matcher to compare two strings.
The class defines a string type that may be included
to a system of types recognized by the engine.
Represents the 'to' util function that retrieves values from a target object based on the provided context and arguments.
Represents a utility function for trimming values in a given context.
Entity to table mapping.
Contract for parameter engine type system entity.
Conversion to declared level type failed.
Decoding value failed
AbstractType.decode(String).When using dynamic context without providing levelCreator function name.
No function with given name could be found in any registered repository.
When using dynamic context without providing levelCreator function name.
Trying to use unknown level
Matcher.No parameter with given name could be found in any registered repository.
Trying to use level value of unknown
Type.Base abstract class for Util functions, provides basic methods and converter for all implementations.
This interface represents the executor for utility functions.
Utility function executor is a helper class for executing utility functions.
Concrete representation of value of
Type.This class represents value property, which is a simple wrapper for any value of simple type.
This interfaces enables to define custom event listener, that capture events from runtime watchers.
Writable repository is a repository without fine-grained control of what is
being saved into it.