Interface ReporterClientCache.ClientProvider<T>

  • Type Parameters:
    T - formal type
    Enclosing class:
    ReporterClientCache<T>

    public static interface ReporterClientCache.ClientProvider<T>
    Provide an instance of service client.
    • Method Detail

      • get

        T get()
        throws Exception
        Get an instance of a service client. It's not specified that each time this method is invoked a new client instance should be returned.
        Returns:
        client instance
        Throws:
        Exception - when client creation encountered an error.