pip_services3_components library
Classes
-
CachedCounters
-
Abstract implementation of performance counters that measures and stores counters in memory.
Child classes implement saving of the counters into various destinations. [...]
-
CachedLogger
-
Abstract logger that caches captured log messages in memory and periodically dumps them.
Child classes implement saving cached messages to their specified destinations. [...]
-
CacheEntry
-
Data object to store cached values with their keys used by MemoryCache
-
Component
-
Abstract component that supportes configurable dependencies, logging
and performance counters. [...]
-
CompositeCounters
-
Aggregates all counters from component references under a single component. [...]
-
CompositeFactory
-
Aggregates multiple factories into a single factory component.
When a new component is requested, it iterates through
factories to locate the one able to create the requested component. [...]
-
CompositeLogger
-
Aggregates all loggers from component references under a single component. [...]
-
ConfigReader
-
Abstract config reader that supports configuration parameterization. [...]
-
ConnectionParams
-
Contains connection parameters to connect to external services.
They are used together with credential parameters, but usually stored
separately from more protected sensitive values. [...]
-
ConnectionResolver
-
Helper class to retrieve component connections. [...]
-
ConsoleLogger
-
Logger that writes log messages to console. [...]
-
ContextInfo
-
Context information component that provides detail information
about execution context: container or/and process. [...]
-
Counter
-
Data object to store measurement for a performance counter.
This object is used by CachedCounters to store counters.
-
CredentialParams
-
Contains credentials to authenticate against external services.
They are used together with connection parameters, but usually stored
in a separate store, protected from unauthorized access. [...]
-
CredentialResolver
-
Helper class to retrieve component credentials. [...]
-
DefaultCacheFactory
-
Creates ICache components by their descriptors. [...]
-
DefaultConfigReaderFactory
-
Creates IConfigReader components by their descriptors. [...]
-
DefaultCountersFactory
-
Creates ICounters components by their descriptors. [...]
-
DefaultCredentialStoreFactory
-
Creates ICredentialStore components by their descriptors. [...]
-
DefaultDiscoveryFactory
-
Creates
https://rawgit.com/pip-services-node/pip-services-components-node/master/doc/api/interfaces/connect.idiscovery.html IDiscovery
components by their descriptors. [...]
-
DefaultInfoFactory
-
Creates information components by their descriptors. [...]
-
DefaultLockFactory
-
Creates ILock components by their descriptors. [...]
-
DefaultLoggerFactory
-
Creates ILogger components by their descriptors. [...]
-
DefaultTestFactory
-
Creates test components by their descriptors. [...]
-
DiscoveryItem
-
Used to store key-identifiable information about connections.
-
Factory
-
Basic component factory that creates components using registered types and factory functions. [...]
-
FileConfigReader
-
Abstract config reader that reads configuration from a file.
Child classes add support for config files in their specific format
like JSON, YAML or property files. [...]
-
ICache
-
Interface for caches that are used to cache values to improve performance.
-
IConfigReader
-
Interface for configuration readers that retrieve configuration from various sources
and make it available for other components. [...]
-
ICounters
-
Interface for performance counters that measure execution metrics. [...]
-
ICredentialStore
-
Interface for credential stores which are used to store and lookup credentials
to authenticate against external services. [...]
-
IDiscovery
-
Interface for discovery services which are used to store and resolve connection parameters
to connect to external services. [...]
-
IFactory
-
Interface for component factories. [...]
-
ILock
-
Interface for locks to synchronize work or parallel processes and to prevent collisions. [...]
-
ILogger
-
Todo: solve issue with overloaded methods. Look at Python implementation
Interface for logger components that capture execution log messages.
-
ITimingCallback
-
Interface for a callback to end measurement of execution elapsed time. [...]
-
JsonConfigReader
-
Config reader that reads configuration from JSON file. [...]
-
Lock
-
Abstract lock that implements default lock acquisition routine. [...]
-
LogCounters
-
Performance counters that periodically dumps counters measurements to logger. [...]
-
Logger
-
Abstract logger that captures and formats log messages.
Child classes take the captured messages and write them to their specific destinations. [...]
-
LogLevelConverter
-
Helper class to convert log level values. [...]
-
LogMessage
-
Data object to store captured log messages.
This object is used by CachedLogger.
-
MemoryCache
-
Cache that stores values in the process memory. [...]
-
MemoryConfigReader
-
Config reader that stores configuration in memory. [...]
-
MemoryCredentialStore
-
Credential store that keeps credentials in memory. [...]
-
MemoryDiscovery
-
Discovery service that keeps connections in memory. [...]
-
MemoryLock
-
Lock that is used to synchronize execution within one process using shared memory. [...]
-
NullCache
-
Dummy cache implementation that doesn't do anything. [...]
-
NullCounters
-
Dummy implementation of performance counters that doesn't do anything. [...]
-
NullLock
-
Dummy lock implementation that doesn't do anything. [...]
-
NullLogger
-
Dummy implementation of logger that doesn't do anything. [...]
-
Registration
-
-
Shutdown
-
Random shutdown component that crashes the process
using various methods. [...]
-
Timing
-
Callback object returned by {@link ICounters.beginTiming} to end timing
of execution block and update the associated counter. [...]
-
YamlConfigReader
-
Config reader that reads configuration from YAML file. [...]
Exceptions / Errors
-
CreateException
-
Error raised when factory is not able to create requested component. [...]