Package com.google.appengine.api.backends

Examples of com.google.appengine.api.backends.BackendService


      queueSettings.merge(parentQueueSettings);
    }
    if (queueSettings.getOnBackend() == null) {
      String module = queueSettings.getOnModule();
      if (module == null) {
        BackendService backendSerivce = BackendServiceFactory.getBackendService();
        String currentBackend = backendSerivce.getCurrentBackend();
        // If currentBackend contains ':' it is actually a B type module (see b/12893879)
        if (currentBackend != null && currentBackend.indexOf(':') == -1) {
          queueSettings.setOnBackend(currentBackend);
        } else {
          ModulesService modulesService = ModulesServiceFactory.getModulesService();
View Full Code Here


    String backend = getBackend();
    String module = getModule();
    String version = null;
    if (backend == null) {
      if (module == null) {
        BackendService backendService = BackendServiceFactory.getBackendService();
        String currentBackend = backendService.getCurrentBackend();
        // If currentBackend contains ':' it is actually a B type module (see b/12893879)
        if (currentBackend != null && currentBackend.indexOf(':') == -1) {
          backend = currentBackend;
        } else {
          ModulesService modulesService = ModulesServiceFactory.getModulesService();
View Full Code Here

 
  private static final Logger LOGGER = Logger.getLogger(BackendUpServlet.class.getName());
 
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
     throws IOException {
    BackendService backendsApi = BackendServiceFactory.getBackendService();
    int currentInstance = backendsApi.getCurrentInstance();
    String backend = backendsApi.getCurrentBackend();
    String address = backendsApi.getBackendAddress(backend);
    LOGGER.severe("--- Current BackednName: " + backend +
        " instance: " + currentInstance + " address: " + address);
  }
View Full Code Here

 
  private static final Logger LOGGER = Logger.getLogger(LazyContextLoaderListener.class.getName());
 
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
     throws IOException {
    BackendService backendsApi = BackendServiceFactory.getBackendService();
    int currentInstance = backendsApi.getCurrentInstance();
    String backend = backendsApi.getCurrentBackend();
    String address = backendsApi.getBackendAddress(backend);
    LOGGER.severe("--- Current BackednName: " + backend +
        " instance: " + currentInstance + " address: " + address);
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.api.backends.BackendService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.