- GatewayApplication - Interface in com.diffusiondata.gateway.framework
-
The interface that a Gateway Framework application must implement.
- GatewayApplication.ApplicationDetails - Interface in com.diffusiondata.gateway.framework
-
Basic details of the application.
- GatewayApplication.ApplicationDetails.Builder - Interface in com.diffusiondata.gateway.framework
-
A builder for application details.
- GatewayApplicationException - Exception in com.diffusiondata.gateway.framework.exceptions
-
- GatewayApplicationException(String, Throwable) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.GatewayApplicationException
-
Constructor.
- GatewayApplicationException(String) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.GatewayApplicationException
-
Constructor.
- GatewayFramework - Interface in com.diffusiondata.gateway.framework
-
Gateway Framework.
- GatewayFrameworkException - Exception in com.diffusiondata.gateway.framework.exceptions
-
- GatewayFrameworkException(String, Throwable) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.GatewayFrameworkException
-
Constructor.
- GatewayFrameworkException(String) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.GatewayFrameworkException
-
Constructor.
- GatewayMeterRegistry - Interface in com.diffusiondata.gateway.framework
-
Interface to supply MeterRegistry
instance and to provide useful
utility methods to create tags which can be used by application and
framework.
- getApplicationDetails() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication
-
Returns the basic details about the application.
- getApplicationType() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails
-
Returns the application type.
- getConfiguration() - Method in interface com.diffusiondata.gateway.framework.GatewayFramework
-
Returns the full configuration for the declared gateway application.
- getConfigurationVersion() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails
-
Returns the configuration version of application.
- getConfiguredDiffusionTopicSelector() - Method in interface com.diffusiondata.gateway.framework.Subscriber
-
Returns the configured diffusionTopicSelector
in the framework
configuration of the service.
- getConfiguredTopicProperties() - Method in class com.diffusiondata.gateway.framework.CustomPublisher
-
- getConfiguredTopicProperties() - Method in interface com.diffusiondata.gateway.framework.Publisher
-
Returns a
TopicProperties
with user-configured or default
topic properties for the service.
- getDataType() - Method in enum com.diffusiondata.gateway.framework.TopicType
-
- getDescription() - Method in enum com.diffusiondata.gateway.framework.ServiceMode
-
- getDescription() - Method in interface com.diffusiondata.gateway.framework.ServiceType
-
Returns the service type's description.
- getDescription() - Method in interface com.diffusiondata.gateway.framework.SharedConfigType
-
Returns the sharedConfig type's description.
- getDiffusionTopic() - Method in interface com.diffusiondata.gateway.framework.UpdateContext
-
Returns the Diffusion topic that would be published to if the custom
publisher was not used.
- getErrors() - Method in exception com.diffusiondata.gateway.framework.exceptions.InvalidConfigurationException
-
Returns the map of errors.
- getExecutorService() - Method in interface com.diffusiondata.gateway.framework.ApplicationContext
-
Returns instance of
ScheduledExecutorService
initialized by the
framework using the thread pool configured in configuration file.
- getGlobalConfiguration() - Method in interface com.diffusiondata.gateway.framework.ApplicationContext
-
Returns the configured global parameters for the application.
- getGlobalSchema() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails
-
Returns the global configuration schema.
- getId() - Method in interface com.diffusiondata.gateway.framework.ApplicationContext
-
Returns the application identifier as supplied in the configuration.
- getId() - Method in interface com.diffusiondata.gateway.framework.ServiceDefinition
-
Returns the service identifier.
- getId() - Method in interface com.diffusiondata.gateway.framework.SharedConfig
-
Returns the sharedConfig identifier.
- getMessage() - Method in exception com.diffusiondata.gateway.framework.exceptions.InvalidConfigurationException
-
- getMeterRegistry() - Method in interface com.diffusiondata.gateway.framework.GatewayMeterRegistry
-
Should return MeterRegistry
instance for the application.
- getMode() - Method in interface com.diffusiondata.gateway.framework.ServiceType
-
Returns the service mode.
- getName() - Method in interface com.diffusiondata.gateway.framework.ServiceType
-
Returns the service type name.
- getName() - Method in interface com.diffusiondata.gateway.framework.SharedConfig
-
Returns the sharedConfig name.
- getName() - Method in interface com.diffusiondata.gateway.framework.SharedConfigType
-
Return the sharedConfig type name.
- getParameters() - Method in interface com.diffusiondata.gateway.framework.ServiceDefinition
-
Returns the configured parameters for the service, defined in the
application section of the service configuration.
- getParameters() - Method in interface com.diffusiondata.gateway.framework.SharedConfig
-
Returns the sharedConfig parameters as defined by the configuration.
- getPayloadConverterNames() - Method in interface com.diffusiondata.gateway.framework.SinkHandler.SinkServiceProperties
-
Returns the list of names of
payload
converters
that are assigned for this service, to be used for
converting the Diffusion topic values to application format.
- getPayloadConverterNames() - Method in interface com.diffusiondata.gateway.framework.SourceHandler.SourceServiceProperties
-
Returns a list of names of
payload
converters
that are to be used for converting the published
values to Diffusion format.
- getPersistencePolicy() - Method in interface com.diffusiondata.gateway.framework.TopicProperties
-
Returns the persistence policy for the topic.
- getSchema() - Method in interface com.diffusiondata.gateway.framework.ServiceType
-
Returns the service type's JSON schema.
- getSchema() - Method in interface com.diffusiondata.gateway.framework.SharedConfigType
-
Returns the sharedConfig type's JSON schema.
- getServiceName() - Method in interface com.diffusiondata.gateway.framework.ServiceDefinition
-
Returns the service name.
- getServiceNameTag(String) - Static method in interface com.diffusiondata.gateway.framework.GatewayMeterRegistry
-
Creates a singleton list with Tag
containing name of the service
for which the metrics is being collected.
- getServiceType() - Method in interface com.diffusiondata.gateway.framework.ServiceDefinition
-
Returns the service type.
- getServiceTypes() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails
-
Returns the services types.
- getSessionProperties() - Method in interface com.diffusiondata.gateway.framework.MissingTopicNotification
-
Returns the session properties of the session that made the request.
- getSharedConfig() - Method in interface com.diffusiondata.gateway.framework.ServiceDefinition
-
- getSharedConfigTypes() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails
-
Returns the sharedConfig types.
- getSinkServiceProperties() - Method in interface com.diffusiondata.gateway.framework.SinkHandler
-
This is used to set topic-specific properties for topics consumed by this
service.
- getSourceServiceProperties() - Method in interface com.diffusiondata.gateway.framework.SourceHandler
-
This is used to set topic-specific properties for topics created by this
service.
- getState() - Method in exception com.diffusiondata.gateway.framework.exceptions.ServiceStateException
-
Returns the current service state.
- getState() - Method in interface com.diffusiondata.gateway.framework.StateHandler
-
Returns the current state of the service.
- getTimeSeriesRetainedRange() - Method in interface com.diffusiondata.gateway.framework.TopicProperties
-
Returns a retained range for a time series topic.
- getTimeSeriesSubscriptionRange() - Method in interface com.diffusiondata.gateway.framework.TopicProperties
-
Returns a subscription range for a time series topic.
- getTopicPath() - Method in interface com.diffusiondata.gateway.framework.MissingTopicNotification
-
Returns the topic path derived from the requested topic selector.
- getTopicProperties() - Method in interface com.diffusiondata.gateway.framework.UpdateContext
-
Returns the topic properties that would have been used for the Diffusion
topic.
- getTopicSelector() - Method in interface com.diffusiondata.gateway.framework.MissingTopicNotification
-
Returns topicSelector string that triggered this notification.
- getTopicType() - Method in interface com.diffusiondata.gateway.framework.SourceHandler.SourceServiceProperties
-
Returns the type of topic that the service will publish to.
- getTopicType() - Method in interface com.diffusiondata.gateway.framework.TopicProperties
-
Returns the topic type.
- getType() - Method in interface com.diffusiondata.gateway.framework.SharedConfig
-
Returns the sharedConfig type.
- getUpdateMode() - Method in interface com.diffusiondata.gateway.framework.SourceHandler.SourceServiceProperties
-
Returns the update mode to be used for updating topics.
- globalConfigUpgradeFunction(BiFunction<Integer, Map<String, Object>, Map<String, Object>>) - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails.Builder
-
Sets a
BiFunction
to upgrade global application
configuration from an older version to the latest version
supported by the application.
- globalSchema(String) - Method in interface com.diffusiondata.gateway.framework.GatewayApplication.ApplicationDetails.Builder
-
Sets the schema for the global application configuration.
- ServiceDefinition - Interface in com.diffusiondata.gateway.framework
-
A service definition contains the details of a service required when
instantiating a
ServiceHandler
for the service.
- ServiceHandler - Interface in com.diffusiondata.gateway.framework
-
Base interface for all service handlers.
- ServiceHandler.PauseReason - Enum in com.diffusiondata.gateway.framework
-
The reason that a service is being paused.
- ServiceHandler.ResumeReason - Enum in com.diffusiondata.gateway.framework
-
The reason that a service is being resumed.
- ServiceMode - Enum in com.diffusiondata.gateway.framework
-
Service mode of operation.
- ServiceState - Enum in com.diffusiondata.gateway.framework
-
Indicates the current state of a service.
- ServiceStateException - Exception in com.diffusiondata.gateway.framework.exceptions
-
Indicates that the operation being attempted is incompatible with the current
service state.
- ServiceStateException(ServiceState) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.ServiceStateException
-
Constructor.
- ServiceStateException(ServiceState, String) - Constructor for exception com.diffusiondata.gateway.framework.exceptions.ServiceStateException
-
Constructor.
- ServiceType - Interface in com.diffusiondata.gateway.framework
-
A service type.
- setInitialJSONValueForPatchUpdates(String, String) - Method in class com.diffusiondata.gateway.framework.CustomPublisher
-
- setInitialJSONValueForPatchUpdates(String, String) - Method in interface com.diffusiondata.gateway.framework.Publisher
-
Sets the initial value for a Diffusion JSON topic, to which subsequent patch
updates will be applied.
- SharedConfig - Interface in com.diffusiondata.gateway.framework
-
Defines a SharedConfig.
- SharedConfigType - Interface in com.diffusiondata.gateway.framework
-
A sharedConfig type.
- shutdown() - Method in interface com.diffusiondata.gateway.framework.DiffusionGatewayFramework.Implementation
-
- shutdown() - Static method in enum com.diffusiondata.gateway.framework.DiffusionGatewayFramework
-
Shuts down the framework.
- SinkHandler<T> - Interface in com.diffusiondata.gateway.framework
-
The interface that a sink handler must implement.
- SinkHandler.SinkServiceProperties - Interface in com.diffusiondata.gateway.framework
-
The service properties that apply to the sink service.
- SinkHandler.SinkServiceProperties.Builder - Interface in com.diffusiondata.gateway.framework
-
A builder for sink service properties.
- SinkHandler.UnsubscriptionReason - Enum in com.diffusiondata.gateway.framework
-
The reason for an unsubscription from a Diffusion topic.
- SourceHandler - Interface in com.diffusiondata.gateway.framework
-
The base interface for source service handlers.
- SourceHandler.SourceServiceProperties - Interface in com.diffusiondata.gateway.framework
-
The properties that apply to topics created by and published to by the
service.
- SourceHandler.SourceServiceProperties.Builder - Interface in com.diffusiondata.gateway.framework
-
A builder for source service properties.
- start(GatewayApplication) - Method in interface com.diffusiondata.gateway.framework.DiffusionGatewayFramework.Implementation
-
- start(GatewayApplication) - Static method in enum com.diffusiondata.gateway.framework.DiffusionGatewayFramework
-
Called by an application to introduce a gateway framework application
implementation and start the framework.
- start() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication
-
Starts the application.
- start() - Method in interface com.diffusiondata.gateway.framework.ServiceHandler
-
Start the service.
- StateHandler - Interface in com.diffusiondata.gateway.framework
-
State Handler.
- StateHandler.Status - Enum in com.diffusiondata.gateway.framework
-
- stop() - Method in interface com.diffusiondata.gateway.framework.GatewayApplication
-
Stops the application.
- stop() - Method in interface com.diffusiondata.gateway.framework.ServiceHandler
-
Stop the service.
- StreamingSourceHandler - Interface in com.diffusiondata.gateway.framework
-
The interface that a streaming source handler must implement.
- subscribe() - Method in interface com.diffusiondata.gateway.framework.Subscriber
-
Request subscription to configured topics in the Diffusion server.
- subscribe(String) - Method in interface com.diffusiondata.gateway.framework.Subscriber
-
Request subscription to passed topics in the Diffusion server.
- Subscriber - Interface in com.diffusiondata.gateway.framework
-
A subscriber to be used to subscribe to or unsubscribe from Diffusion topics.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.DiffusionGatewayFramework
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.ServiceHandler.PauseReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.ServiceHandler.ResumeReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.ServiceMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.ServiceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.SinkHandler.UnsubscriptionReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.StateHandler.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.TopicProperties.PersistencePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.TopicType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diffusiondata.gateway.framework.UpdateMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.diffusiondata.gateway.framework.DiffusionGatewayFramework
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.ServiceHandler.PauseReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.ServiceHandler.ResumeReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.ServiceMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.ServiceState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.SinkHandler.UnsubscriptionReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.StateHandler.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.TopicProperties.PersistencePolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.TopicType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.diffusiondata.gateway.framework.UpdateMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueType() - Method in interface com.diffusiondata.gateway.framework.SinkHandler
-
Class of the value expected by this handler.