CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace config {
class CatapultConfiguration; }
28 namespace observers {
class EntityObserver; }
31 namespace catapult {
namespace extensions {
37 std::unique_ptr<const validators::stateless::AggregateEntityValidator>
CreateStatelessValidator(
const plugins::PluginManager& manager);
std::unique_ptr< const observers::EntityObserver > CreateUndoEntityObserver(const plugins::PluginManager &manager)
Creates an undo entity observer using pluginManager.
Definition: PluginUtils.cpp:53
Additional storage configuration.
Definition: PluginManager.h:39
ObserverPointer createObserver() const
Creates an observer.
Definition: PluginManager.cpp:172
bool ShouldUseCacheDatabaseStorage
true if cache data should be saved in a database.
Definition: NodeConfiguration.h:48
utils::FileSize MaxCacheDatabaseWriteBatchSize
Maximum cache database write batch size.
Definition: NodeConfiguration.h:131
const NodeConfiguration Node
Node configuration.
Definition: CatapultConfiguration.h:51
std::string DataDirectory
Data directory.
Definition: UserConfiguration.h:35
A manager for registering plugins.
Definition: PluginManager.h:51
bool PreferCacheDatabase
Prefer using a database for cache storage.
Definition: PluginManager.h:41
StatelessValidatorPointer createStatelessValidator(const validators::ValidationResultPredicate &isSuppressedFailure) const
Creates a stateless validator that ignores suppressed failures according to isSuppressedFailure.
Definition: PluginManager.cpp:142
Comprehensive configuration for a catapult process.
Definition: CatapultConfiguration.h:34
std::unique_ptr< const validators::stateless::AggregateEntityValidator > CreateStatelessValidator(const plugins::PluginManager &manager)
Creates an entity stateless validator using pluginManager.
Definition: PluginUtils.cpp:45
std::string CacheDatabaseDirectory
Base directory to use for storing cache database.
Definition: PluginManager.h:44
utils::FileSize MaxCacheDatabaseWriteBatchSize
Maximum cache database write batch size.
Definition: PluginManager.h:47
PublisherPointer createNotificationPublisher(model::PublicationMode mode=model::PublicationMode::All) const
Creates a notification publisher for the specified mode.
Definition: PluginManager.cpp:225
std::vector< std::unique_ptr< const EntityValidatorT< TArgs... > >> ValidatorVectorT
A vector of validators.
Definition: ValidatorTypes.h:46
const UserConfiguration User
User configuration.
Definition: CatapultConfiguration.h:57
Definition: AddressExtractionExtension.cpp:28
plugins::StorageConfiguration CreateStorageConfiguration(const config::CatapultConfiguration &config)
Creates plugin storage configuration from config.
Definition: PluginUtils.cpp:30