public interface DeltaManager
Interface for managing partial configuration updates.
Use this manager to subscribe DeltaReceiver
implementation for
receiving configuration deltas instead of full resync updates from
ConfigurationManager
.
DeltaHandlerId
,
DeltaReceiver
,
ConfigurationDelta
Modifier and Type | Method and Description |
---|---|
void |
registerRootReceiver(DeltaReceiver receiver)
Registers root receiver to receive first and full resync deltas.
|
void |
subscribeForDeltaUpdates(DeltaHandlerId handlerId,
DeltaReceiver receiver)
Subscribes receiver for delta updates by the given handler id.
|
void |
unsubscribeFromDeltaUpdates(DeltaHandlerId handlerId)
Unsubscribes receiver from delta updates.
|
void registerRootReceiver(DeltaReceiver receiver)
receiver
- the root receiver objectDeltaReceiver
void subscribeForDeltaUpdates(DeltaHandlerId handlerId, DeltaReceiver receiver)
handlerId
- id of the delta handlerreceiver
- the object to receive updatesDeltaHandlerId
,
DeltaReceiver
void unsubscribeFromDeltaUpdates(DeltaHandlerId handlerId)
handlerId
- id of the handler to be unsubscribedDeltaHandlerId
Copyright © 2015. All rights reserved.