S
- a type of data stampChangeable<S>
, OverrideSource
, Source<S>
, java.lang.AutoCloseable
, java.util.function.Supplier<S>
public abstract class AbstractOverrideSource<S> extends AbstractSource<OverrideSource.OverrideData,S> implements OverrideSource
OverrideSource
, suitable for concrete
implementations to extend.AbstractOverrideSource.Builder
Modifier and Type | Class | Description |
---|---|---|
static class |
AbstractOverrideSource.Builder<B extends AbstractOverrideSource.Builder<B,T>,T> |
A common
OverrideSource builder ready to be extended by builder implementation related to OverrideSource
extensions. |
AbstractSource.Data<D,S>
OverrideSource.OverrideData
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractOverrideSource(AbstractOverrideSource.Builder builder) |
Initializes config source from builder.
|
Modifier and Type | Method | Description |
---|---|---|
io.helidon.common.reactive.Flow.Publisher<java.util.Optional<OverrideSource.OverrideData>> |
changes() |
Returns a
Flow.Publisher to which the caller can subscribe in
order to receive change notifications. |
dataStamp, description, fireChangeEvent, isMandatory, load, loadData, processLoadedData, uid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
close, description, load
protected AbstractOverrideSource(AbstractOverrideSource.Builder builder)
builder
- builder to be initialized frompublic final io.helidon.common.reactive.Flow.Publisher<java.util.Optional<OverrideSource.OverrideData>> changes()
Changeable
Flow.Publisher
to which the caller can subscribe in
order to receive change notifications.
Method Flow.Subscriber.onError(Throwable)
is called in case of error listening on config source data.
Method Flow.Subscriber.onComplete()
is never called.
Copyright © 2018 Oracle Corporation. All rights reserved.