Class POBCacheService

  • All Implemented Interfaces:

    
    public class POBCacheService
    
                        

    A util class to create and store objects for given service name.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static POBCacheService getInstance() Return a single instance of POBCacheService
      <T> Map<String, T> getService(@NonNull() String serviceName) Retrieves associated object for given service name
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getService

        @NonNull() <T> Map<String, T> getService(@NonNull() String serviceName)

        Retrieves associated object for given service name

        Parameters:
        serviceName - the serviceName whose associated object is to be returned
        Returns:

        associated object