Class AccountCache

java.lang.Object
com.elpical.jclaro.admin.ws.server.AccountCache

public class AccountCache extends Object
Utility class to improve the performance of the webservices: - Administrator - Inspector - JobClient NOTE: Each webservice needs a copy of this class because of the specialized class Account in every webservice... This gives better performance than having to re-load the account list for every web-service call.
  • Method Details

    • getInstance

      public static AccountCache getInstance()
    • getAccounts

      public List<Account> getAccounts()
      Get all accounts. Optimized for best performance so not every web-service method call needs to re-load the whole list.