Package com.illumon.iris.db.v2.routing
Interface DataRoutingService.EndpointConfig
- All Superinterfaces:
DataRoutingService.PropertyProvider
- All Known Subinterfaces:
DataImportServiceConfig.EndpointConfig
,DisEndpointConfigImpl
,LogAggregatorConfig.EndpointConfig
- All Known Implementing Classes:
DataImportServiceEndpointConfigImpl
- Enclosing interface:
- DataRoutingService
public static interface DataRoutingService.EndpointConfig
extends DataRoutingService.PropertyProvider
Configuration for resolving an endpoint.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Compare two instances for interface equality.static boolean
Compare two maps for equality, ignoring properties which are present only in some implementations (and which are also represented as first class fields).getName()
Return the name of this configuration, which is likely to be a service name.Return the string representation of the service registry scheme.Methods inherited from interface com.illumon.iris.db.v2.routing.DataRoutingService.PropertyProvider
getProperties, getProperty, getProperty
-
Method Details
-
getName
Return the name of this configuration, which is likely to be a service name.- Returns:
- the configuration name
-
getServiceRegistryType
Return the string representation of the service registry scheme. Service and client implementations should be able to register new services or look up registered services based on this string.- Returns:
- the name of the service registry scheme
-
equals
Compare two instances for interface equality.- Parameters:
lhs
- the first objectrhs
- the second object- Returns:
- true if the two instances are equal, according to the interface
-
equivalentProperties
Compare two maps for equality, ignoring properties which are present only in some implementations (and which are also represented as first class fields).- Parameters:
lhs
- the first objectrhs
- the second object- Returns:
- true if the two maps are the same, excluding the special fields
-