Esempio n. 1
0
 @Override
 public int getPortalClientExecutorQueueSize() {
   MySqlPortalService portal = Singletons.lookup(MySqlPortalService.class);
   return portal == null ? 0 : portal.getClientExecutorQueueSize();
 }
Esempio n. 2
0
 @Override
 public int getPortalWorkerGroupCount() {
   MySqlPortalService portal = Singletons.lookup(MySqlPortalService.class);
   return portal == null ? 0 : portal.getWorkerGroupCount();
 }