public enum ServiceMode extends Enum<ServiceMode>
This defines the mode of operation for a service.
| Enum Constant and Description | 
|---|
HYBRID
Indicates that a service is a hybrid service that both consumes data from
 Diffusion and publishes data to Diffusion. 
 | 
POLLING_SOURCE
Indicates that a service is a polling source service that is periodically
 polled by the framework for updates which are then published to
 Diffusion. 
 | 
SINK
Indicates that a service is a sink service that consumes data from
 Diffusion and publishes it to a back end data sink. 
 | 
STREAMING_SOURCE
Indicates that a service is a streaming source service that consumes
 streaming data from a back end source and publishes it to Diffusion. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()  | 
static ServiceMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ServiceMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ServiceMode STREAMING_SOURCE
 Such a service is implemented by a StreamingSourceHandler.
public static final ServiceMode POLLING_SOURCE
 Such a service is implemented by a PollingSourceHandler.
public static final ServiceMode SINK
 Such a service is implemented by a SinkHandler.
public static final ServiceMode HYBRID
This type of service may be used to transform data consumed from Diffusion topics and publish back to different Diffusion topics.
 Such a service is implemented by a HybridHandler.
public static ServiceMode[] values()
for (ServiceMode c : ServiceMode.values()) System.out.println(c);
public static ServiceMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
Copyright © 2024 DiffusionData Limited. All rights reserved.