Class JsonAccountServiceFactory

  • All Implemented Interfaces:
    com.github.ambry.account.AccountServiceFactory

    public final class JsonAccountServiceFactory
    extends java.lang.Object
    implements com.github.ambry.account.AccountServiceFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonAccountServiceFactory​(com.github.ambry.config.VerifiableProperties verifiableProperties, com.codahale.metrics.MetricRegistry metricRegistry)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.github.ambry.account.AccountService getAccountService()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonAccountServiceFactory

        public JsonAccountServiceFactory​(com.github.ambry.config.VerifiableProperties verifiableProperties,
                                         com.codahale.metrics.MetricRegistry metricRegistry)
        Constructor
        Parameters:
        verifiableProperties - The VerifiableProperties used to retrieve configuration properties from.
        metricRegistry - The AccountServiceMetrics to report metrics.
    • Method Detail

      • getAccountService

        public com.github.ambry.account.AccountService getAccountService()
                                                                  throws java.lang.InstantiationException
        Specified by:
        getAccountService in interface com.github.ambry.account.AccountServiceFactory
        Throws:
        java.lang.InstantiationException