Class DataRoutingServiceCachingImpl

java.lang.Object
com.illumon.iris.db.v2.routing.DataRoutingService.Delegating
com.illumon.iris.db.v2.routing.impl.yaml.DataRoutingServiceCachingImpl
All Implemented Interfaces:
DataRoutingConfigListener, DataRoutingService, StorageLookup, EndpointResolver, ClaimsProvider, SafeCloseable, NamedImplementation, AutoCloseable

public class DataRoutingServiceCachingImpl extends DataRoutingService.Delegating implements DataRoutingConfigListener
A caching implementation of DataRoutingService that listens for changes to the source service and updates the delegate when changes are detected. This can prevent unnecessary remote calls.