Interface GangliaEndpointBuilderFactory.GangliaEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- GangliaEndpointBuilderFactory
public static interface GangliaEndpointBuilderFactory.GangliaEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Ganglia component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GangliaEndpointBuilderFactory.AdvancedGangliaEndpointBuilder
advanced()
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
dmax(int dmax)
Minumum time in seconds before Ganglia will purge the metric value if it expires.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
dmax(String dmax)
Minumum time in seconds before Ganglia will purge the metric value if it expires.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
groupName(String groupName)
The group that the metric belongs to.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
metricName(String metricName)
The name to use for the metric.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
mode(String mode)
Send the UDP metric packets using MULTICAST or UNICAST.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
mode(GangliaEndpointBuilderFactory.UDPAddressingMode mode)
Send the UDP metric packets using MULTICAST or UNICAST.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
prefix(String prefix)
Prefix the metric name with this string and an underscore.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
slope(String slope)
The slope.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
slope(GangliaEndpointBuilderFactory.GMetricSlope slope)
The slope.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
spoofHostname(String spoofHostname)
Spoofing information IP:hostname.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
tmax(int tmax)
Maximum time in seconds that the value can be considered current.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
tmax(String tmax)
Maximum time in seconds that the value can be considered current.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
ttl(int ttl)
If using multicast, set the TTL of the packets.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
ttl(String ttl)
If using multicast, set the TTL of the packets.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
type(String type)
The type of value.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
type(GangliaEndpointBuilderFactory.GMetricType type)
The type of value.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
units(String units)
Any unit of measurement that qualifies the metric, e.g.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
wireFormat31x(boolean wireFormat31x)
Use the wire format of Ganglia 3.1.0 and later versions.default GangliaEndpointBuilderFactory.GangliaEndpointBuilder
wireFormat31x(String wireFormat31x)
Use the wire format of Ganglia 3.1.0 and later versions.
-
-
-
Method Detail
-
advanced
default GangliaEndpointBuilderFactory.AdvancedGangliaEndpointBuilder advanced()
-
dmax
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder dmax(int dmax)
Minumum time in seconds before Ganglia will purge the metric value if it expires. Set to 0 and the value will remain in Ganglia indefinitely until a gmond agent restart. The option is a:int
type. Default: 0 Group: producer
-
dmax
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder dmax(String dmax)
Minumum time in seconds before Ganglia will purge the metric value if it expires. Set to 0 and the value will remain in Ganglia indefinitely until a gmond agent restart. The option will be converted to aint
type. Default: 0 Group: producer
-
groupName
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder groupName(String groupName)
The group that the metric belongs to. The option is a:java.lang.String
type. Default: java Group: producer
-
lazyStartProducer
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
metricName
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder metricName(String metricName)
The name to use for the metric. The option is a:java.lang.String
type. Default: metric Group: producer
-
mode
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder mode(GangliaEndpointBuilderFactory.UDPAddressingMode mode)
Send the UDP metric packets using MULTICAST or UNICAST. The option is a:info.ganglia.gmetric4j.gmetric.GMetric$UDPAddressingMode
type. Default: MULTICAST Group: producer
-
mode
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder mode(String mode)
Send the UDP metric packets using MULTICAST or UNICAST. The option will be converted to ainfo.ganglia.gmetric4j.gmetric.GMetric$UDPAddressingMode
type. Default: MULTICAST Group: producer
-
prefix
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder prefix(String prefix)
Prefix the metric name with this string and an underscore. The option is a:java.lang.String
type. Group: producer
-
slope
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder slope(GangliaEndpointBuilderFactory.GMetricSlope slope)
The slope. The option is a:info.ganglia.gmetric4j.gmetric.GMetricSlope
type. Default: BOTH Group: producer
-
slope
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder slope(String slope)
The slope. The option will be converted to ainfo.ganglia.gmetric4j.gmetric.GMetricSlope
type. Default: BOTH Group: producer
-
spoofHostname
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder spoofHostname(String spoofHostname)
Spoofing information IP:hostname. The option is a:java.lang.String
type. Group: producer
-
tmax
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder tmax(int tmax)
Maximum time in seconds that the value can be considered current. After this, Ganglia considers the value to have expired. The option is a:int
type. Default: 60 Group: producer
-
tmax
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder tmax(String tmax)
Maximum time in seconds that the value can be considered current. After this, Ganglia considers the value to have expired. The option will be converted to aint
type. Default: 60 Group: producer
-
ttl
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder ttl(int ttl)
If using multicast, set the TTL of the packets. The option is a:int
type. Default: 5 Group: producer
-
ttl
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder ttl(String ttl)
If using multicast, set the TTL of the packets. The option will be converted to aint
type. Default: 5 Group: producer
-
type
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder type(GangliaEndpointBuilderFactory.GMetricType type)
The type of value. The option is a:info.ganglia.gmetric4j.gmetric.GMetricType
type. Default: STRING Group: producer
-
type
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder type(String type)
The type of value. The option will be converted to ainfo.ganglia.gmetric4j.gmetric.GMetricType
type. Default: STRING Group: producer
-
units
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder units(String units)
Any unit of measurement that qualifies the metric, e.g. widgets, litres, bytes. Do not include a prefix such as k (kilo) or m (milli), other tools may scale the units later. The value should be unscaled. The option is a:java.lang.String
type. Group: producer
-
wireFormat31x
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder wireFormat31x(boolean wireFormat31x)
Use the wire format of Ganglia 3.1.0 and later versions. Set this to false to use Ganglia 3.0.x or earlier. The option is a:boolean
type. Default: true Group: producer
-
wireFormat31x
default GangliaEndpointBuilderFactory.GangliaEndpointBuilder wireFormat31x(String wireFormat31x)
Use the wire format of Ganglia 3.1.0 and later versions. Set this to false to use Ganglia 3.0.x or earlier. The option will be converted to aboolean
type. Default: true Group: producer
-
-