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