Class LocalConnector

  • All Implemented Interfaces:
    Connector, java.lang.AutoCloseable

    public class LocalConnector
    extends java.lang.Object
    implements Connector, java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalConnector​(@NonNull java.lang.String source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String authenticate()  
      void close()  
      FeatureConfig getFlag​(@NonNull java.lang.String identifier)  
      java.util.List<FeatureConfig> getFlags()  
      Segment getSegment​(@NonNull java.lang.String identifier)  
      java.util.List<Segment> getSegments()  
      protected java.util.stream.Stream<java.io.File> listFiles​(@NonNull java.lang.String source, @NonNull java.lang.String domain)  
      protected <T> T load​(@NonNull java.io.File file, @NonNull java.lang.Class<T> classOfT)  
      void postMetrics​(@NonNull Metrics metrics)  
      void setOnUnauthorized​(java.lang.Runnable runnable)
      If the http interceptor detects unauthorised during an API call then this callback is used to retry auth
      Service stream​(@NonNull Updater updater)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait