Class InMemoryUnknownAccountServiceFactory

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

    public class InMemoryUnknownAccountServiceFactory
    extends java.lang.Object
    implements com.github.ambry.account.AccountServiceFactory
    An AccountServiceFactory that returns an InMemoryUnknownAccountService.
    • Constructor Summary

      Constructors 
      Constructor Description
      InMemoryUnknownAccountServiceFactory​(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

      • InMemoryUnknownAccountServiceFactory

        public InMemoryUnknownAccountServiceFactory​(com.github.ambry.config.VerifiableProperties verifiableProperties,
                                                    com.codahale.metrics.MetricRegistry metricRegistry)
        Constructor.
        Parameters:
        verifiableProperties - The properties to get a HelixAccountService instance. Cannot be null.
        metricRegistry - The MetricRegistry for metrics tracking. Cannot be null.
    • Method Detail

      • getAccountService

        public com.github.ambry.account.AccountService getAccountService()
        Specified by:
        getAccountService in interface com.github.ambry.account.AccountServiceFactory