예제 #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();
 }